summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoritojun <itojun@openbsd.org>2000-07-13 14:44:17 +0000
committeritojun <itojun@openbsd.org>2000-07-13 14:44:17 +0000
commitdf5b2675944d435a20fc97a5cbd583a22daf5e35 (patch)
treec96f4ecf6adfe4dfee07c15314c9405d31c95e8d
parentenable setsockopt related to IPv6 multicast routing. (diff)
downloadwireguard-openbsd-df5b2675944d435a20fc97a5cbd583a22daf5e35.tar.xz
wireguard-openbsd-df5b2675944d435a20fc97a5cbd583a22daf5e35.zip
on openbsd, static symbols are not visible from the userland.
make mif6table global variable. (sync with kame)
-rw-r--r--sys/netinet6/ip6_mroute.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet6/ip6_mroute.c b/sys/netinet6/ip6_mroute.c
index 6cd7bc1015e..48b9cd4c087 100644
--- a/sys/netinet6/ip6_mroute.c
+++ b/sys/netinet6/ip6_mroute.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip6_mroute.c,v 1.4 2000/05/19 13:11:34 itojun Exp $ */
+/* $OpenBSD: ip6_mroute.c,v 1.5 2000/07/13 14:44:17 itojun Exp $ */
/* $KAME: ip6_mroute.c,v 1.24 2000/05/19 07:37:05 jinmei Exp $ */
/*
@@ -103,7 +103,7 @@ struct mrt6stat mrt6stat;
struct mf6c *mf6ctable[MF6CTBLSIZ];
u_char nexpire[MF6CTBLSIZ];
-static struct mif6 mif6table[MAXMIFS];
+struct mif6 mif6table[MAXMIFS];
#ifdef MRT6DEBUG
u_int mrt6debug = 0; /* debug level */
#define DEBUG_MFC 0x02