summaryrefslogtreecommitdiff
path: root/usr.bin/netstat/main.c
diff options
context:
space:
mode:
authorAngelos D. Keromytis <angelos@cvs.openbsd.org>1999-10-29 03:26:41 +0000
committerAngelos D. Keromytis <angelos@cvs.openbsd.org>1999-10-29 03:26:41 +0000
commitada8046059288501276f4440523f531e7de5f58a (patch)
tree5bd712889ff818a465619bb435a52ffe2bc43597 /usr.bin/netstat/main.c
parent7b584cbf8103cf78a8db3cbb08e378ff5a47a4b9 (diff)
etherip statistics
Diffstat (limited to 'usr.bin/netstat/main.c')
-rw-r--r--usr.bin/netstat/main.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/usr.bin/netstat/main.c b/usr.bin/netstat/main.c
index 674855ba1ec..230290534c0 100644
--- a/usr.bin/netstat/main.c
+++ b/usr.bin/netstat/main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: main.c,v 1.17 1999/03/01 01:28:13 d Exp $ */
+/* $OpenBSD: main.c,v 1.18 1999/10/29 03:26:40 angelos Exp $ */
/* $NetBSD: main.c,v 1.9 1996/05/07 02:55:02 thorpej Exp $ */
/*
@@ -44,7 +44,7 @@ char copyright[] =
#if 0
static char sccsid[] = "from: @(#)main.c 8.4 (Berkeley) 3/1/94";
#else
-static char *rcsid = "$OpenBSD: main.c,v 1.17 1999/03/01 01:28:13 d Exp $";
+static char *rcsid = "$OpenBSD: main.c,v 1.18 1999/10/29 03:26:40 angelos Exp $";
#endif
#endif /* not lint */
@@ -151,6 +151,8 @@ struct nlist nl[] = {
{ "_ddpstat"},
#define N_DDPCB 40
{ "_ddpcb"},
+#define N_ETHERIPSTAT 41
+ { "_etheripstat"},
{ ""},
};
@@ -178,6 +180,8 @@ struct protox {
esp_stats, "esp" },
{ -1, N_IP4STAT, 1, 0,
ip4_stats, "ipencap" },
+ { -1, N_ETHERIPSTAT, 1, 0,
+ etherip_stats,"etherip" },
{ -1, -1, 0, 0,
0, 0 }
};