Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/netstat add missing {IP,IP6}_STAT_NOIPSEC to netstat.



details:   https://anonhg.NetBSD.org/src/rev/ec1750ab1495
branches:  trunk
changeset: 937029:ec1750ab1495
user:      knakahara <knakahara%NetBSD.org@localhost>
date:      Thu Aug 06 07:38:54 2020 +0000

description:
add missing {IP,IP6}_STAT_NOIPSEC to netstat.

diffstat:

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

diffs (52 lines):

diff -r 8eb8c681df5d -r ec1750ab1495 usr.bin/netstat/inet.c
--- a/usr.bin/netstat/inet.c    Thu Aug 06 06:50:39 2020 +0000
+++ b/usr.bin/netstat/inet.c    Thu Aug 06 07:38:54 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: inet.c,v 1.110 2019/08/18 04:14:40 kamil Exp $ */
+/*     $NetBSD: inet.c,v 1.111 2020/08/06 07:38:54 knakahara 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.110 2019/08/18 04:14:40 kamil Exp $");
+__RCSID("$NetBSD: inet.c,v 1.111 2020/08/06 07:38:54 knakahara Exp $");
 #endif
 #endif /* not lint */
 
@@ -622,6 +622,7 @@
        p(IP_STAT_CANTFORWARD, "\t%" PRIu64 " packet%s not forwardable\n");
        p(IP_STAT_REDIRECTSENT, "\t%" PRIu64 " redirect%s sent\n");
        p(IP_STAT_NOGIF, "\t%" PRIu64 " packet%s no matching gif found\n");
+       p(IP_STAT_NOIPSEC, "\t%" PRIu64 " packet%s no matching ipsecif found\n");
        p(IP_STAT_LOCALOUT, "\t%" PRIu64 " packet%s sent from this host\n");
        p(IP_STAT_RAWOUT, "\t%" PRIu64 " packet%s sent with fabricated ip header\n");
        p(IP_STAT_ODROPPED, "\t%" PRIu64 " output packet%s dropped due to no bufs, etc.\n");
diff -r 8eb8c681df5d -r ec1750ab1495 usr.bin/netstat/inet6.c
--- a/usr.bin/netstat/inet6.c   Thu Aug 06 06:50:39 2020 +0000
+++ b/usr.bin/netstat/inet6.c   Thu Aug 06 07:38:54 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: inet6.c,v 1.74 2020/04/23 00:24:16 joerg Exp $ */
+/*     $NetBSD: inet6.c,v 1.75 2020/08/06 07:38:54 knakahara Exp $     */
 /*     BSDI inet.c,v 2.3 1995/10/24 02:19:29 prb Exp   */
 
 /*
@@ -64,7 +64,7 @@
 #if 0
 static char sccsid[] = "@(#)inet.c     8.4 (Berkeley) 4/20/94";
 #else
-__RCSID("$NetBSD: inet6.c,v 1.74 2020/04/23 00:24:16 joerg Exp $");
+__RCSID("$NetBSD: inet6.c,v 1.75 2020/08/06 07:38:54 knakahara Exp $");
 #endif
 #endif /* not lint */
 
@@ -724,6 +724,7 @@
        p(IP6_STAT_EXTHDRTOOLONG,
            "\t%llu packet%s whose headers are not continuous\n");
        p(IP6_STAT_NOGIF, "\t%llu tunneling packet%s that can't find gif\n");
+       p(IP6_STAT_NOIPSEC, "\t%llu tunneling packet%s that can't find ipsecif\n");
        p(IP6_STAT_TOOMANYHDR,
            "\t%llu packet%s discarded due to too many headers\n");
 



Home | Main Index | Thread Index | Old Index