summaryrefslogtreecommitdiffstats
path: root/usr.bin/netstat/inet6.c
diff options
context:
space:
mode:
authorshin <shin@FreeBSD.org>2000-01-07 05:17:09 +0000
committershin <shin@FreeBSD.org>2000-01-07 05:17:09 +0000
commitb8e88750ca8496f0291145d8c4a7b0ab0efc5e3c (patch)
tree76d0d6d3de7cfc74ca8e38c4c2fa5e5a32a54664 /usr.bin/netstat/inet6.c
parentb06ae99df1a54361b9f152804f4c929c3fde8f66 (diff)
downloadFreeBSD-src-b8e88750ca8496f0291145d8c4a7b0ab0efc5e3c.zip
FreeBSD-src-b8e88750ca8496f0291145d8c4a7b0ab0efc5e3c.tar.gz
-permit protocol specific statistics at iflag,
only when either of sflag and "-f inet6" is specified. -fix the indentation of default output Specified by: Stephen McKay <syssgm@detir.qld.gov.au> Reviewed and Confirmed by: Stephen McKay <syssgm@detir.qld.gov.au>
Diffstat (limited to 'usr.bin/netstat/inet6.c')
-rw-r--r--usr.bin/netstat/inet6.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/netstat/inet6.c b/usr.bin/netstat/inet6.c
index 02c2fbf..c1c65f2 100644
--- a/usr.bin/netstat/inet6.c
+++ b/usr.bin/netstat/inet6.c
@@ -904,7 +904,7 @@ inet6print(in6, port, proto, numeric)
else
sprintf(cp, "%d", ntohs((u_short)port));
width = lflag ? 45 : Aflag ? 18 : 22;
- printf(" %-*.*s", width, width, line);
+ printf("%-*.*s ", width, width, line);
}
/*
OpenPOWER on IntegriCloud