diff options
author | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 2000-06-16 02:10:51 +0000 |
---|---|---|
committer | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 2000-06-16 02:10:51 +0000 |
commit | 13a95bd3b3d49df621d9edf80db91ddfffdf3eb9 (patch) | |
tree | e3fbe8467bf643ee842919bcb5720339c334b872 /usr.bin | |
parent | cf1279fc87fb5011c8095c5b28ac7d17ac3e6d24 (diff) |
print # of icmp6 error suppressed by rate limit
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/netstat/inet6.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/usr.bin/netstat/inet6.c b/usr.bin/netstat/inet6.c index d44c937b335..870f0a9a67a 100644 --- a/usr.bin/netstat/inet6.c +++ b/usr.bin/netstat/inet6.c @@ -1,4 +1,4 @@ -/* $OpenBSD: inet6.c,v 1.6 2000/05/17 11:54:50 itojun Exp $ */ +/* $OpenBSD: inet6.c,v 1.7 2000/06/16 02:10:50 itojun Exp $ */ /* BSDI inet.c,v 2.3 1995/10/24 02:19:29 prb Exp */ /* * Copyright (c) 1983, 1988, 1993 @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)inet.c 8.4 (Berkeley) 4/20/94"; #else -/*__RCSID("$OpenBSD: inet6.c,v 1.6 2000/05/17 11:54:50 itojun Exp $");*/ +/*__RCSID("$OpenBSD: inet6.c,v 1.7 2000/06/16 02:10:50 itojun Exp $");*/ /*__RCSID("KAME Id: inet6.c,v 1.10 2000/02/09 10:49:31 itojun Exp");*/ #endif #endif /* not lint */ @@ -172,7 +172,7 @@ static char *ip6nh[] = { "#86", "#87", "#88", - "#89", + "OSPF", "#80", "#91", "#92", @@ -856,6 +856,8 @@ icmp6_stats(off, name) p(icp6s_error, "\t%qu call%s to icmp6_error\n"); p(icp6s_canterror, "\t%qu error%s not generated because old message was icmp6 or so\n"); + p(icp6s_toofreq, + "\t%qu error%s not generated because rate limitation\n"); for (first = 1, i = 0; i < 256; i++) if (icmp6stat.icp6s_outhist[i] != 0) { if (first) { |