Module Name: src
Committed By: christos
Date: Mon Dec 7 18:48:45 UTC 2009
Modified Files:
src/usr.bin/netstat: inet.c
Log Message:
PR/42243: Yasuoka Masahiko: Add support for "net.inet.icmp.bmcastecho" support.
Print the current status.
To generate a diff of this commit:
cvs rdiff -u -r1.91 -r1.92 src/usr.bin/netstat/inet.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.bin/netstat/inet.c
diff -u src/usr.bin/netstat/inet.c:1.91 src/usr.bin/netstat/inet.c:1.92
--- src/usr.bin/netstat/inet.c:1.91 Mon Sep 14 06:36:50 2009
+++ src/usr.bin/netstat/inet.c Mon Dec 7 13:48:45 2009
@@ -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) {