summaryrefslogtreecommitdiff
path: root/networking
diff options
context:
space:
mode:
Diffstat (limited to 'networking')
-rw-r--r--networking/arp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/arp.c b/networking/arp.c
index 872d44b..6bd1265 100644
--- a/networking/arp.c
+++ b/networking/arp.c
@@ -408,7 +408,7 @@ static int arp_show(char *name)
continue;
/* if the user specified device differs, skip it */
- if (device[0])
+ if (device[0] && strcmp(dev, device) != 0)
continue;
shown++;