diff options
author | Ryan Thomas McBride <mcbride@cvs.openbsd.org> | 2004-11-10 03:38:53 +0000 |
---|---|---|
committer | Ryan Thomas McBride <mcbride@cvs.openbsd.org> | 2004-11-10 03:38:53 +0000 |
commit | 61649785e61120c13371fce7776a548f03e88a00 (patch) | |
tree | d4293c313cd8f8690500e935f2b857ba306357a9 | |
parent | d336984288a391dd4c12c8d320f2080b75b58e01 (diff) |
Fix 'netstat -sp pim6'
From Pavlin Radoslavov
-rw-r--r-- | sys/netinet6/ip6_mroute.c | 2 | ||||
-rw-r--r-- | sys/netinet6/pim6_var.h | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/sys/netinet6/ip6_mroute.c b/sys/netinet6/ip6_mroute.c index eac4251a1ce..e4340160548 100644 --- a/sys/netinet6/ip6_mroute.c +++ b/sys/netinet6/ip6_mroute.c @@ -180,7 +180,7 @@ struct ifnet multicast_register_if; static mifi_t nummifs = 0; static mifi_t reg_mif_num = (mifi_t)-1; -static struct pim6stat pim6stat; +struct pim6stat pim6stat; static int pim6; /* diff --git a/sys/netinet6/pim6_var.h b/sys/netinet6/pim6_var.h index b63f86daa9f..28193d1b008 100644 --- a/sys/netinet6/pim6_var.h +++ b/sys/netinet6/pim6_var.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pim6_var.h,v 1.6 2002/09/23 23:02:08 itojun Exp $ */ +/* $OpenBSD: pim6_var.h,v 1.7 2004/11/10 03:38:52 mcbride Exp $ */ /* $KAME: pim6_var.h,v 1.8 2000/06/06 08:07:43 jinmei Exp $ */ /* @@ -52,6 +52,7 @@ struct pim6stat { }; #if (defined(KERNEL)) || (defined(_KERNEL)) +extern struct pim6stat pim6stat; int pim6_input(struct mbuf **, int *, int); #endif /* KERNEL */ |