summaryrefslogtreecommitdiff
path: root/usr.bin/netstat
diff options
context:
space:
mode:
authorVincent Gross <vgross@cvs.openbsd.org>2016-09-02 09:39:33 +0000
committerVincent Gross <vgross@cvs.openbsd.org>2016-09-02 09:39:33 +0000
commitfb4fb7c0a200e2baf878cf3b20170094d6518353 (patch)
treeb2c4d851906ec2f13e36b353e7036f8417b93c72 /usr.bin/netstat
parenta025cbc3343b076566de514591bedfe93b9cbfd8 (diff)
Drop non-encapulated ESP packets using a UDP-encapsulating TDB, and add
the relevant counters. Ok mikeb@
Diffstat (limited to 'usr.bin/netstat')
-rw-r--r--usr.bin/netstat/inet.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/netstat/inet.c b/usr.bin/netstat/inet.c
index 9e0e0a67d85..fc8ee471987 100644
--- a/usr.bin/netstat/inet.c
+++ b/usr.bin/netstat/inet.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: inet.c,v 1.150 2016/08/27 04:13:43 guenther Exp $ */
+/* $OpenBSD: inet.c,v 1.151 2016/09/02 09:39:32 vgross Exp $ */
/* $NetBSD: inet.c,v 1.14 1995/10/03 21:42:37 thorpej Exp $ */
/*
@@ -1073,6 +1073,7 @@ esp_stats(char *name)
p(esps_udpencin, "\t%u input UDP encapsulated ESP packet%s\n");
p(esps_udpencout, "\t%u output UDP encapsulated ESP packet%s\n");
p(esps_udpinval, "\t%u UDP packet%s for non-encapsulating TDB received\n");
+ p(esps_udpneeded, "\t%u raw ESP packet%s for encapsulating TDB received\n");
p(esps_ibytes, "\t%llu input byte%s\n");
p(esps_obytes, "\t%llu output byte%s\n");