From ead15b3b3f4bb2afabb64c928522d1b0ca0e2966 Mon Sep 17 00:00:00 2001 From: ume Date: Sat, 19 Feb 2005 16:54:26 +0000 Subject: simply ignore unknown address family. MFC after: 1 week --- usr.bin/systat/netstat.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'usr.bin/systat/netstat.c') 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 -- cgit v1.1