summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rw-r--r--etc/network.subr6
-rwxr-xr-xetc/rc.d/rtadvd4
2 files changed, 5 insertions, 5 deletions
diff --git a/etc/network.subr b/etc/network.subr
index 6d0de93..f7a7241 100644
--- a/etc/network.subr
+++ b/etc/network.subr
@@ -504,7 +504,11 @@ ipv6_autoconfif()
# backward compatibility: $ipv6_enable
case $ipv6_enable in
[Yy][Ee][Ss]|[Tt][Rr][Uu][Ee]|[Oo][Nn]|1)
- return 0
+ if checkyesno ipv6_gateway_enable; then
+ return 1
+ else
+ return 0
+ fi
;;
esac
diff --git a/etc/rc.d/rtadvd b/etc/rc.d/rtadvd
index 8125f38..1ad40b8 100755
--- a/etc/rc.d/rtadvd
+++ b/etc/rc.d/rtadvd
@@ -51,10 +51,6 @@ rtadvd_precmd()
;;
esac
- for iface in ${command_args}; do
- ifconfig ${iface} inet6 -accept_rtadv
- done
-
# Enable Router Renumbering, unicast case
# (use correct src/dst addr)
# rtadvd -R "in ipsec ah/transport/fec0:0:0:1::1-fec0:0:0:10::1/require" ${ipv6_network_interfaces}
OpenPOWER on IntegriCloud