diff options
author | ume <ume@FreeBSD.org> | 2006-10-13 12:45:53 +0000 |
---|---|---|
committer | ume <ume@FreeBSD.org> | 2006-10-13 12:45:53 +0000 |
commit | 8b35df5a80007562a7a6d1de8ad5ad114bd34d61 (patch) | |
tree | 900961ee354f50a9499a8c9372b5929d5580df83 | |
parent | 4fdad8dba6bb9c5c6485c0ceb1422208548eedc8 (diff) | |
download | FreeBSD-src-8b35df5a80007562a7a6d1de8ad5ad114bd34d61.zip FreeBSD-src-8b35df5a80007562a7a6d1de8ad5ad114bd34d61.tar.gz |
Make net.inet6.ip6.auto_linklocal tunable. Someone may want to
enable/disable auto_linklocal even in single user mode.
Discussed with: re@, gnn@
MFC after: 3 days
-rw-r--r-- | sys/netinet6/in6_proto.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/netinet6/in6_proto.c b/sys/netinet6/in6_proto.c index 95d12ed..95f984c 100644 --- a/sys/netinet6/in6_proto.c +++ b/sys/netinet6/in6_proto.c @@ -500,6 +500,7 @@ SYSCTL_OID(_net_inet6_ip6, IPV6CTL_TEMPVLTIME, tempvltime, sysctl_ip6_tempvltime, "I", ""); SYSCTL_INT(_net_inet6_ip6, IPV6CTL_V6ONLY, v6only, CTLFLAG_RW, &ip6_v6only, 0, ""); +TUNABLE_INT("net.inet6.ip6.auto_linklocal", &ip6_auto_linklocal); SYSCTL_INT(_net_inet6_ip6, IPV6CTL_AUTO_LINKLOCAL, auto_linklocal, CTLFLAG_RW, &ip6_auto_linklocal, 0, ""); SYSCTL_STRUCT(_net_inet6_ip6, IPV6CTL_RIP6STATS, rip6stats, CTLFLAG_RD, |