From 9d7a162ce220a42c85f155529320960fdb6d6b51 Mon Sep 17 00:00:00 2001 From: vda Date: Sun, 7 Jan 2007 22:23:38 +0000 Subject: 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 --- networking/arp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) continue; /* if the user specified device differs, skip it */ - if (device[0]) + if (device[0] && strcmp(dev, device) != 0) continue; shown++; -- cgit v1.2.3-55-g6feb