svn commit: r304295 - head/usr.bin/netstat

Michael Tuexen tuexen at FreeBSD.org
Wed Aug 17 16:56:21 UTC 2016


Author: tuexen
Date: Wed Aug 17 16:56:20 2016
New Revision: 304295
URL: https://svnweb.freebsd.org/changeset/base/304295

Log:
  Fix the output for scope statistics.
  
  MFC after: 3 days

Modified:
  head/usr.bin/netstat/inet6.c

Modified: head/usr.bin/netstat/inet6.c
==============================================================================
--- head/usr.bin/netstat/inet6.c	Wed Aug 17 15:50:56 2016	(r304294)
+++ head/usr.bin/netstat/inet6.c	Wed Aug 17 16:56:20 2016	(r304295)
@@ -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);


More information about the svn-src-head mailing list