Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Aug 2016 16:56:20 +0000 (UTC)
From:      Michael Tuexen <tuexen@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r304295 - head/usr.bin/netstat
Message-ID:  <201608171656.u7HGuKHE023170@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201608171656.u7HGuKHE023170>