diff options
author | hrs <hrs@FreeBSD.org> | 2012-03-02 07:23:28 +0000 |
---|---|---|
committer | hrs <hrs@FreeBSD.org> | 2012-03-02 07:23:28 +0000 |
commit | c2fcac3f8828e0daa1f81f1502bec6c23e569000 (patch) | |
tree | 9b87453907b24ecd78433ed67b1f77f35084aad3 | |
parent | ae62f802c7695985a73b20a231cd823fe033b420 (diff) | |
download | FreeBSD-src-c2fcac3f8828e0daa1f81f1502bec6c23e569000.zip FreeBSD-src-c2fcac3f8828e0daa1f81f1502bec6c23e569000.tar.gz |
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.
-rw-r--r-- | sys/netinet6/ip6_input.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/netinet6/ip6_input.c b/sys/netinet6/ip6_input.c index b733af4..4fde2ff 100644 --- a/sys/netinet6/ip6_input.c +++ b/sys/netinet6/ip6_input.c @@ -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); |