summaryrefslogtreecommitdiff
path: root/usr.bin/netstat/main.c
diff options
context:
space:
mode:
authorJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2002-06-07 21:58:39 +0000
committerJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2002-06-07 21:58:39 +0000
commitef1143a8d0351470191130ac7a935e01bdbc6035 (patch)
tree385173e2c22cce534ca1f860ba2c0b9486db5da2 /usr.bin/netstat/main.c
parentfef235fa16b9c828f0e9f82086bf99ac3181b384 (diff)
print rip6stat
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 e4e7d154426..7d3aaea5240 100644
--- a/usr.bin/netstat/main.c
+++ b/usr.bin/netstat/main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: main.c,v 1.31 2002/05/27 01:50:36 deraadt Exp $ */
+/* $OpenBSD: main.c,v 1.32 2002/06/07 21:58:38 itojun 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.31 2002/05/27 01:50:36 deraadt Exp $";
+static char *rcsid = "$OpenBSD: main.c,v 1.32 2002/06/07 21:58:38 itojun Exp $";
#endif
#endif /* not lint */
@@ -177,6 +177,8 @@ struct nlist nl[] = {
{ "_mclpool" },
#define N_IPCOMPSTAT 53
{ "_ipcompstat" },
+#define N_RIP6STAT 54
+ { "_rip6stat" },
{ ""},
};
@@ -224,6 +226,8 @@ struct protox ip6protox[] = {
icmp6_stats, "icmp6" },
{ -1, N_PIM6STAT, 1, 0,
pim6_stats, "pim6" },
+ { -1, N_RIP6STAT, 1, 0,
+ rip6_stats, "rip6" },
{ -1, -1, 0, 0,
0, 0 }
};