mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-01 08:27:59 +00:00
Don't install route for fec0::/10. It was wrongly replaced from
ff02::/16 by me. PR: 22715
This commit is contained in:
parent
70b25a7daf
commit
9c2fe1b866
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=68721
@ -453,11 +453,11 @@ network6_default_interface_setup() {
|
||||
route add -inet6 fe80:: -prefixlen 10 ::1 -reject
|
||||
case ${ipv6_default_interface} in
|
||||
[Nn][Oo] | '')
|
||||
route add -inet6 fec0:: -prefixlen 10 ::1 -reject
|
||||
route add -inet6 ff02:: -prefixlen 16 ::1 -reject
|
||||
;;
|
||||
*)
|
||||
laddr=`network6_getladdr ${ipv6_default_interface}`
|
||||
route add -inet6 fec0:: ${laddr} -prefixlen 10 -interface \
|
||||
route add -inet6 ff02:: ${laddr} -prefixlen 16 -interface \
|
||||
-cloning
|
||||
|
||||
# Disable installing the default interface with the
|
||||
@ -467,7 +467,6 @@ network6_default_interface_setup() {
|
||||
# configured default route.
|
||||
case ${ipv6_gateway_enable} in
|
||||
[Yy][Ee][Ss])
|
||||
ndp -I ${ipv6_default_interface}
|
||||
;;
|
||||
*)
|
||||
if [ `sysctl -n net.inet6.ip6.accept_rtadv` -eq 1 ]
|
||||
|
@ -453,11 +453,11 @@ network6_default_interface_setup() {
|
||||
route add -inet6 fe80:: -prefixlen 10 ::1 -reject
|
||||
case ${ipv6_default_interface} in
|
||||
[Nn][Oo] | '')
|
||||
route add -inet6 fec0:: -prefixlen 10 ::1 -reject
|
||||
route add -inet6 ff02:: -prefixlen 16 ::1 -reject
|
||||
;;
|
||||
*)
|
||||
laddr=`network6_getladdr ${ipv6_default_interface}`
|
||||
route add -inet6 fec0:: ${laddr} -prefixlen 10 -interface \
|
||||
route add -inet6 ff02:: ${laddr} -prefixlen 16 -interface \
|
||||
-cloning
|
||||
|
||||
# Disable installing the default interface with the
|
||||
@ -467,7 +467,6 @@ network6_default_interface_setup() {
|
||||
# configured default route.
|
||||
case ${ipv6_gateway_enable} in
|
||||
[Yy][Ee][Ss])
|
||||
ndp -I ${ipv6_default_interface}
|
||||
;;
|
||||
*)
|
||||
if [ `sysctl -n net.inet6.ip6.accept_rtadv` -eq 1 ]
|
||||
|
Loading…
Reference in New Issue
Block a user