diff options
author | Hajimu UMEMOTO <ume@FreeBSD.org> | 2005-02-19 16:54:26 +0000 |
---|---|---|
committer | Hajimu UMEMOTO <ume@FreeBSD.org> | 2005-02-19 16:54:26 +0000 |
commit | 1b92360adcd36eb9e9d6770cf79bae47bd1c3d42 (patch) | |
tree | e1eb82dc4d5f7a8cc8381af7600b4048541522a1 /usr.bin/systat | |
parent | 511912ad5cc8b3cb591dfd3dc25a11b56b041a2e (diff) | |
download | src-1b92360adcd36eb9e9d6770cf79bae47bd1c3d42.tar.gz src-1b92360adcd36eb9e9d6770cf79bae47bd1c3d42.zip |
simply ignore unknown address family.
MFC after: 1 week
Notes
Notes:
svn path=/head/; revision=142095
Diffstat (limited to 'usr.bin/systat')
-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 06e79697c3f3..735cce316865 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 |