diff --git a/ip/ipaddress.c b/ip/ipaddress.c index 37deda50..69a63b31 100644 --- a/ip/ipaddress.c +++ b/ip/ipaddress.c @@ -1018,7 +1018,7 @@ static int ipaddr_list_or_flush(int argc, char **argv, int flush) exit(1); } - if (filter.family && filter.family != AF_PACKET) { + if (filter.family != AF_PACKET) { if (filter.oneline) no_link = 1;