Previous "fix" wasn't good enough.

Now *this* is the correct fix (I think).
This commit is contained in:
Denis Vlasenko 2007-01-07 22:23:38 +00:00
parent 91c06e0a3c
commit 681f183b94

View File

@ -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++;