diff options
author | shin <shin@FreeBSD.org> | 2000-02-19 21:46:45 +0000 |
---|---|---|
committer | shin <shin@FreeBSD.org> | 2000-02-19 21:46:45 +0000 |
commit | 841fc647e82546c5ace4a39b6928db40cb033cc6 (patch) | |
tree | 9dd7545270a193771212926339248aa9cc492533 /usr.bin/fstat | |
parent | a34d288bc9020e5d80076c6154e5720746f81628 (diff) | |
download | FreeBSD-src-841fc647e82546c5ace4a39b6928db40cb033cc6.zip FreeBSD-src-841fc647e82546c5ace4a39b6928db40cb033cc6.tar.gz |
Fixed a little bit strange INET6 output.
Specified by: Ben Smithurst <ben@scientia.demon.co.uk>
Approved by: jkh
Diffstat (limited to 'usr.bin/fstat')
-rw-r--r-- | usr.bin/fstat/fstat.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.bin/fstat/fstat.c b/usr.bin/fstat/fstat.c index e943c89..ec8df44 100644 --- a/usr.bin/fstat/fstat.c +++ b/usr.bin/fstat/fstat.c @@ -684,6 +684,7 @@ socktrans(sock, i) */ switch(dom.dom_family) { case AF_INET: + case AF_INET6: getinetproto(proto.pr_protocol); if (proto.pr_protocol == IPPROTO_TCP ) { if (so.so_pcb) { |