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);
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to