diff options
author | tuexen <tuexen@FreeBSD.org> | 2016-08-20 07:44:41 +0000 |
---|---|---|
committer | tuexen <tuexen@FreeBSD.org> | 2016-08-20 07:44:41 +0000 |
commit | 9f3d08166757522b5671e62420400afd181a1d51 (patch) | |
tree | bda3da103bb1fc6d2555ac42e9c798c46064e367 /usr.bin | |
parent | 5b6859c0edac10df6d1e1c6801a3213c95382b1b (diff) | |
download | FreeBSD-src-9f3d08166757522b5671e62420400afd181a1d51.zip FreeBSD-src-9f3d08166757522b5671e62420400afd181a1d51.tar.gz |
MFC r304292:
Use names for SCTP and UDPLite when reporting the input histogram.
MFC r304295:
Fix the output for scope statistics.
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/netstat/inet6.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/netstat/inet6.c b/usr.bin/netstat/inet6.c index 094d25b..d01f690 100644 --- a/usr.bin/netstat/inet6.c +++ b/usr.bin/netstat/inet6.c @@ -207,11 +207,11 @@ static const char *ip6nh[] = { "#129", "#130", "#131", - "#132", + "SCTP", "#133", "#134", "#135", - "#136", + "UDPLite", "#137", "#138", "#139", @@ -488,8 +488,8 @@ ip6_stats(u_long off, const char *name, int af1 __unused, int proto __unused) "{N:/global%s}\n");\ break;\ default:\ - xo_emit("\t\t{qke:name/%x}{:count/%ju} " \ - "addresses scope=%x\n",\ + xo_emit("\t\t{qke:name/%#x}{:count/%ju} " \ + "{N:/addresses scope=%#x}\n",\ i, (uintmax_t)ip6stat.s, i); \ }\ } while (0); |