aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-01-07 22:23:38 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-01-07 22:23:38 +0000
commit681f183b9408c877e78b2fe538fd6264c0a7493d (patch)
tree1e47fb42f4ccff39332747d7227846335e3528ce
parent91c06e0a3ce5e0fafaa72f6355bcb81b4f979721 (diff)
downloadbusybox-w32-681f183b9408c877e78b2fe538fd6264c0a7493d.tar.gz
busybox-w32-681f183b9408c877e78b2fe538fd6264c0a7493d.tar.bz2
busybox-w32-681f183b9408c877e78b2fe538fd6264c0a7493d.zip
Previous "fix" wasn't good enough.
Now *this* is the correct fix (I think).
-rw-r--r--networking/arp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/arp.c b/networking/arp.c
index 872d44b0b..6bd12656a 100644
--- a/networking/arp.c
+++ b/networking/arp.c
@@ -408,7 +408,7 @@ static int arp_show(char *name)
408 continue; 408 continue;
409 409
410 /* if the user specified device differs, skip it */ 410 /* if the user specified device differs, skip it */
411 if (device[0]) 411 if (device[0] && strcmp(dev, device) != 0)
412 continue; 412 continue;
413 413
414 shown++; 414 shown++;