summaryrefslogtreecommitdiffstats
path: root/etc/rc.network6
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2000-11-14 15:49:31 +0000
committerume <ume@FreeBSD.org>2000-11-14 15:49:31 +0000
commitfe1bce1e67f3ea83b060f98d371d2381cd55b085 (patch)
tree980649673bcdf1b444e15e6f4eb07233be924e54 /etc/rc.network6
parentbd085010caa0af462aa9d22079d868a7e1343278 (diff)
downloadFreeBSD-src-fe1bce1e67f3ea83b060f98d371d2381cd55b085.zip
FreeBSD-src-fe1bce1e67f3ea83b060f98d371d2381cd55b085.tar.gz
Don't install route for fec0::/10. It was wrongly replaced from
ff02::/16 by me. PR: 22715
Diffstat (limited to 'etc/rc.network6')
-rw-r--r--etc/rc.network65
1 files changed, 2 insertions, 3 deletions
diff --git a/etc/rc.network6 b/etc/rc.network6
index 0b5bdf59..aa50306 100644
--- a/etc/rc.network6
+++ b/etc/rc.network6
@@ -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 ]
OpenPOWER on IntegriCloud