svn commit: r187584 - stable/7/usr.bin/netstat
Maxim Konovalov
maxim at FreeBSD.org
Thu Jan 22 01:39:12 PST 2009
Author: maxim
Date: Thu Jan 22 09:39:11 2009
New Revision: 187584
URL: http://svn.freebsd.org/changeset/base/187584
Log:
MFC r187134: respect -ss flags for icmp6 "histogram of error messages"
section.
Modified:
stable/7/usr.bin/netstat/inet6.c
Modified: stable/7/usr.bin/netstat/inet6.c
==============================================================================
--- stable/7/usr.bin/netstat/inet6.c Thu Jan 22 08:29:39 2009 (r187583)
+++ stable/7/usr.bin/netstat/inet6.c Thu Jan 22 09:39:11 2009 (r187584)
@@ -866,7 +866,8 @@ icmp6_stats(u_long off, const char *name
#define p(f, m) if (icmp6stat.f || sflag <= 1) \
printf(m, (uintmax_t)icmp6stat.f, plural(icmp6stat.f))
-#define p_5(f, m) printf(m, (uintmax_t)icmp6stat.f)
+#define p_5(f, m) if (icmp6stat.f || sflag <= 1) \
+ printf(m, (uintmax_t)icmp6stat.f)
p(icp6s_error, "\t%ju call%s to icmp6_error\n");
p(icp6s_canterror,
More information about the svn-src-stable-7
mailing list