]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
netinet6: Add sysctl flag CTLFLAG_TUN to loader tunables
authorZhenlei Huang <zlei@FreeBSD.org>
Mon, 25 Sep 2023 10:10:47 +0000 (18:10 +0800)
committerZhenlei Huang <zlei@FreeBSD.org>
Mon, 25 Sep 2023 10:10:47 +0000 (18:10 +0800)
commit03dac3e37993801dab4418087bfedacce0526e66
tree03b61d3c55ca400560729f5f1b678e56b4cf0258
parent21a722d9593eb477f4ccdad011a2b4df0727fc62
netinet6: Add sysctl flag CTLFLAG_TUN to loader tunables

The following sysctl variables are actually loader tunables. Add sysctl
flag CTLFLAG_TUN to them so that `sysctl -T` will report them correctly.

 1. net.inet6.ip6.auto_linklocal
 2. net.inet6.ip6.accept_rtadv
 3. net.inet6.ip6.no_radr

No functional change intended.

Reviewed by: glebius
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D41928
sys/netinet6/in6_proto.c