diff options
Diffstat (limited to 'usr.bin/systat/netstat.c')
-rw-r--r-- | usr.bin/systat/netstat.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.bin/systat/netstat.c b/usr.bin/systat/netstat.c index 06e7969..735cce3 100644 --- a/usr.bin/systat/netstat.c +++ b/usr.bin/systat/netstat.c @@ -407,10 +407,8 @@ enter(inp, state, proto) sa6->sin6_len = sizeof(struct sockaddr_in6); } #endif - else { - error("Unsupported address family"); + else return NULL; - } /* * Only take exact matches, any sockets with |