Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/netstat PR/42243: Yasuoka Masahiko: Add support for ...



details:   https://anonhg.NetBSD.org/src/rev/3ff20225a33e
branches:  trunk
changeset: 749771:3ff20225a33e
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Dec 07 18:48:45 2009 +0000

description:
PR/42243: Yasuoka Masahiko: Add support for "net.inet.icmp.bmcastecho" support.
Print the current status.

diffstat:

 usr.bin/netstat/inet.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (27 lines):

diff -r 9afc73d0141e -r 3ff20225a33e usr.bin/netstat/inet.c
--- a/usr.bin/netstat/inet.c    Mon Dec 07 18:47:24 2009 +0000
+++ b/usr.bin/netstat/inet.c    Mon Dec 07 18:48:45 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: inet.c,v 1.91 2009/09/14 10:36:50 degroote Exp $       */
+/*     $NetBSD: inet.c,v 1.92 2009/12/07 18:48:45 christos Exp $       */
 
 /*
  * Copyright (c) 1983, 1988, 1993
@@ -34,7 +34,7 @@
 #if 0
 static char sccsid[] = "from: @(#)inet.c       8.4 (Berkeley) 4/20/94";
 #else
-__RCSID("$NetBSD: inet.c,v 1.91 2009/09/14 10:36:50 degroote Exp $");
+__RCSID("$NetBSD: inet.c,v 1.92 2009/12/07 18:48:45 christos Exp $");
 #endif
 #endif /* not lint */
 
@@ -582,6 +582,8 @@
        p(ICMP_STAT_TOOSHORT, "\t%llu message%s < minimum length\n");
        p(ICMP_STAT_CHECKSUM, "\t%llu bad checksum%s\n");
        p(ICMP_STAT_BADLEN, "\t%llu message%s with bad length\n");
+       p(ICMP_STAT_BMCASTECHO, "\t%llu multicast echo request%s ignored\n");
+       p(ICMP_STAT_BMCASTTSTAMP, "\t%llu multicast timestamp request%s ignored\n");
        for (first = 1, i = 0; i < ICMP_MAXTYPE + 1; i++)
                if (icmpstat[ICMP_STAT_INHIST + i] != 0) {
                        if (first) {



Home | Main Index | Thread Index | Old Index