Allow to configure net.inet6.ip6.{accept_rtadv,no_radr} by the loader tunables

as well because they have to be configured before interface initialization for
AF_INET6.
This commit is contained in:
Hiroki Sato 2012-03-02 07:23:28 +00:00
parent a1875676ca
commit dead19563c

View File

@ -163,6 +163,8 @@ ip6_init(void)
TUNABLE_INT_FETCH("net.inet6.ip6.auto_linklocal",
&V_ip6_auto_linklocal);
TUNABLE_INT_FETCH("net.inet6.ip6.accept_rtadv", &V_ip6_accept_rtadv);
TUNABLE_INT_FETCH("net.inet6.ip6.no_radr", &V_ip6_no_radr);
TAILQ_INIT(&V_in6_ifaddrhead);