summaryrefslogtreecommitdiffstats
path: root/usr.bin/netstat/main.c
diff options
context:
space:
mode:
authormpi <mpi@openbsd.org>2018-08-13 14:36:54 +0000
committermpi <mpi@openbsd.org>2018-08-13 14:36:54 +0000
commit67852c399647b9fc13d474fd298d0bf9249860bd (patch)
treea73b7188a864d644382134ba5fbd00914b2ab5d0 /usr.bin/netstat/main.c
parentMake it possible to run pipe(2) and pipe2(2) mostly w/o KERNEL_LOCK(): (diff)
downloadwireguard-openbsd-67852c399647b9fc13d474fd298d0bf9249860bd.tar.xz
wireguard-openbsd-67852c399647b9fc13d474fd298d0bf9249860bd.zip
Print global IPsec counters.
ok markus@
Diffstat (limited to 'usr.bin/netstat/main.c')
-rw-r--r--usr.bin/netstat/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/netstat/main.c b/usr.bin/netstat/main.c
index f2310f3dffd..17c889768a2 100644
--- a/usr.bin/netstat/main.c
+++ b/usr.bin/netstat/main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: main.c,v 1.112 2017/08/12 03:21:02 benno Exp $ */
+/* $OpenBSD: main.c,v 1.113 2018/08/13 14:36:54 mpi Exp $ */
/* $NetBSD: main.c,v 1.9 1996/05/07 02:55:02 thorpej Exp $ */
/*
@@ -77,6 +77,7 @@ struct protox {
{ ipip_stats, "ipencap", 0 },
{ tcp_stats, "tcp", IPPROTO_TCP },
{ udp_stats, "udp", IPPROTO_UDP },
+ { ipsec_stats, "ipsec", 0 },
{ esp_stats, "esp", 0 },
{ ah_stats, "ah", 0 },
{ etherip_stats,"etherip", 0 },