diff options
author | Yoshinobu Inoue <shin@FreeBSD.org> | 2000-02-19 21:46:45 +0000 |
---|---|---|
committer | Yoshinobu Inoue <shin@FreeBSD.org> | 2000-02-19 21:46:45 +0000 |
commit | 677e00c04ea6530f8c36fbefcf38c0bfd639f7f3 (patch) | |
tree | e9709b30322a3e72fc0af69f3302ba1f4dc3f337 /usr.bin/fstat/fstat.c | |
parent | b0b670ee94b25e7c32a3d326b421cd6a93ec65f9 (diff) | |
download | src-677e00c04ea6530f8c36fbefcf38c0bfd639f7f3.tar.gz src-677e00c04ea6530f8c36fbefcf38c0bfd639f7f3.zip |
Fixed a little bit strange INET6 output.
Specified by: Ben Smithurst <ben@scientia.demon.co.uk>
Approved by: jkh
Notes
Notes:
svn path=/head/; revision=57345
Diffstat (limited to 'usr.bin/fstat/fstat.c')
-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 e943c899241b..ec8df44575e3 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) { |