aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2007-01-07 22:23:38 +0000
committervda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2007-01-07 22:23:38 +0000
commit9d7a162ce220a42c85f155529320960fdb6d6b51 (patch)
tree1e47fb42f4ccff39332747d7227846335e3528ce
parenta038d173bf36d8b7d1cd11e6f53c4399650d205b (diff)
downloadbusybox-w32-9d7a162ce220a42c85f155529320960fdb6d6b51.tar.gz
busybox-w32-9d7a162ce220a42c85f155529320960fdb6d6b51.tar.bz2
busybox-w32-9d7a162ce220a42c85f155529320960fdb6d6b51.zip
Previous "fix" wasn't good enough.
Now *this* is the correct fix (I think). git-svn-id: svn://busybox.net/trunk/busybox@17199 69ca8d6d-28ef-0310-b511-8ec308f3f277
-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++;