Author: tuexen
Date: Sat Aug 20 11:42:08 2016
New Revision: 304522
URL: https://svnweb.freebsd.org/changeset/base/304522
Log:
MFC r304519:
* Use names for SCTP and UDPLite when reporting the input histogram.
* Fix the output for scope statistics.
Approved by: re (kib)
Modified:
releng/11.0/usr.bin/netstat/inet6.c
Directory Properties:
releng/11.0/ (props changed)
Modified: releng/11.0/usr.bin/netstat/inet6.c
==============================================================================
--- releng/11.0/usr.bin/netstat/inet6.c Sat Aug 20 09:13:14 2016
(r304521)
+++ releng/11.0/usr.bin/netstat/inet6.c Sat Aug 20 11:42:08 2016
(r304522)
@@ -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,
"{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);
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"