diff options
author | ume <ume@FreeBSD.org> | 2003-11-04 20:22:33 +0000 |
---|---|---|
committer | ume <ume@FreeBSD.org> | 2003-11-04 20:22:33 +0000 |
commit | 41930d5085a3db8a98276354d742fd4bd5d2bcdc (patch) | |
tree | 3ed0ed6cb3790bc3d6f177c4e14cd2ab91640de7 /sys/netinet6/in6_proto.c | |
parent | 51a7ecabf175e87ddc5bf4b21224e08d6cd9f202 (diff) | |
download | FreeBSD-src-41930d5085a3db8a98276354d742fd4bd5d2bcdc.zip FreeBSD-src-41930d5085a3db8a98276354d742fd4bd5d2bcdc.tar.gz |
source address selection part of RFC3484.
TODO: since there is scope issue to be solved, multicast and
link-local address are treated as special for workaround for
now.
Obtained from: KAME
Diffstat (limited to 'sys/netinet6/in6_proto.c')
-rw-r--r-- | sys/netinet6/in6_proto.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/netinet6/in6_proto.c b/sys/netinet6/in6_proto.c index d8c308f..d2aa0e6 100644 --- a/sys/netinet6/in6_proto.c +++ b/sys/netinet6/in6_proto.c @@ -439,6 +439,8 @@ 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, &rip6stat, rip6stat, ""); +SYSCTL_INT(_net_inet6_ip6, IPV6CTL_PREFER_TEMPADDR, + prefer_tempaddr, CTLFLAG_RW, &ip6_prefer_tempaddr, 0, ""); SYSCTL_INT(_net_inet6_ip6, IPV6CTL_MAXFRAGS, maxfrags, CTLFLAG_RW, &ip6_maxfrags, 0, ""); |