Previous "fix" wasn't good enough.
Now *this* is the correct fix (I think).
This commit is contained in:
1 parent
91c06e0a3c
commit
681f183b94
1 file changed
+1
-1
+1
-1
@@ -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++;
|
||||
|
||||
Reference in new issue
Block a user