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
This commit is contained in:
parent
82e5a02886
commit
1291e2a0eb
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=166948
@ -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 */
|
||||
|
||||
|
@ -124,9 +124,7 @@ struct rip6stat rip6stat;
|
||||
/*
|
||||
* Hooks for multicast forwarding.
|
||||
*/
|
||||
|
||||
struct socket *ip6_mrouter;
|
||||
|
||||
struct socket *ip6_mrouter = NULL;
|
||||
int (*ip6_mrouter_set)(struct socket *, struct sockopt *);
|
||||
int (*ip6_mrouter_get)(struct socket *, struct sockopt *);
|
||||
int (*ip6_mrouter_done)(void);
|
||||
|
Loading…
Reference in New Issue
Block a user