summaryrefslogtreecommitdiffstats
path: root/sys/netinet6/ip6_mroute.c
diff options
context:
space:
mode:
authorbms <bms@FreeBSD.org>2007-02-24 21:09:35 +0000
committerbms <bms@FreeBSD.org>2007-02-24 21:09:35 +0000
commitfcd6a02a5d5bf29f0733e164fe90b78b0efa3c04 (patch)
tree9392b62b58c2636c54630aa21c4fc275314ccdaf /sys/netinet6/ip6_mroute.c
parentcb538c93c97ffa7557af7297f4cbe91b2944fb49 (diff)
downloadFreeBSD-src-fcd6a02a5d5bf29f0733e164fe90b78b0efa3c04.zip
FreeBSD-src-fcd6a02a5d5bf29f0733e164fe90b78b0efa3c04.tar.gz
Fix tinderbox. ip6_mrouter should be defined in raw_ip6.c as it is
tested to determine if the userland socket is open; this, in turn, is used to determine if the module has been loaded. Tested with: LINT
Diffstat (limited to 'sys/netinet6/ip6_mroute.c')
-rw-r--r--sys/netinet6/ip6_mroute.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/netinet6/ip6_mroute.c b/sys/netinet6/ip6_mroute.c
index a6c238a..7780507 100644
--- a/sys/netinet6/ip6_mroute.c
+++ b/sys/netinet6/ip6_mroute.c
@@ -145,10 +145,9 @@ struct ip6protosw in6_pim_protosw = {
};
/*
- * Globals. All but ip6_mrouter, ip6_mrtproto and mrt6stat could be static,
+ * Globals. All but ip6_mrtproto and mrt6stat could be static,
* except for netstat or debugging purposes.
*/
-struct socket *ip6_mrouter = NULL;
int ip6_mrouter_ver = 0;
int ip6_mrtproto = IPPROTO_PIM; /* for netstat only */
OpenPOWER on IntegriCloud