inet6: Make non-prefix and directly reachable inet6 routes work.
commitb72db1d3321d7a80f4da3f727765bcc200f30278
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Sat, 21 Oct 2017 07:31:40 +0000 (21 15:31 +0800)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Sat, 21 Oct 2017 07:35:40 +0000 (21 15:35 +0800)
treed7ddfd7e46223b94f94ddee1c3e9d1f1aa7d0d4c
parent9c48e8765c45af07f916e82d5f1588fd379eb72a
inet6: Make non-prefix and directly reachable inet6 routes work.

e.g. inet6 routes added w/ -interface:

sysctl net.inet6.icmp6.nd6_onlink_ns_rfc4861=1
ifconfig ix0 inet6 2003:db8::1
route add -inet6 2003:db8:1::/64 -interface ix0

NOTE: net.inet6.icmp6.nd6_onlink_ns_rfc4861 MUST be on.
sys/netinet6/nd6.c