From dead19563cb67b60d7e58560019b6171cbb0c150 Mon Sep 17 00:00:00 2001 From: Hiroki Sato Date: Fri, 2 Mar 2012 07:23:28 +0000 Subject: [PATCH] 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. --- sys/netinet6/ip6_input.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/netinet6/ip6_input.c b/sys/netinet6/ip6_input.c index b733af4ef374..4fde2ff95102 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);