summaryrefslogtreecommitdiffstats
path: root/usr.bin/systat/netstat.c
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2005-02-19 16:54:26 +0000
committerume <ume@FreeBSD.org>2005-02-19 16:54:26 +0000
commitead15b3b3f4bb2afabb64c928522d1b0ca0e2966 (patch)
treee1eb82dc4d5f7a8cc8381af7600b4048541522a1 /usr.bin/systat/netstat.c
parentba650c0652625385cd7663670825460deb6e7088 (diff)
downloadFreeBSD-src-ead15b3b3f4bb2afabb64c928522d1b0ca0e2966.zip
FreeBSD-src-ead15b3b3f4bb2afabb64c928522d1b0ca0e2966.tar.gz
simply ignore unknown address family.
MFC after: 1 week
Diffstat (limited to 'usr.bin/systat/netstat.c')
-rw-r--r--usr.bin/systat/netstat.c4
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
OpenPOWER on IntegriCloud