aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/fstat/fstat.c
diff options
context:
space:
mode:
authorYoshinobu Inoue <shin@FreeBSD.org>2000-02-19 21:46:45 +0000
committerYoshinobu Inoue <shin@FreeBSD.org>2000-02-19 21:46:45 +0000
commit677e00c04ea6530f8c36fbefcf38c0bfd639f7f3 (patch)
treee9709b30322a3e72fc0af69f3302ba1f4dc3f337 /usr.bin/fstat/fstat.c
parentb0b670ee94b25e7c32a3d326b421cd6a93ec65f9 (diff)
downloadsrc-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.c1
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) {