summaryrefslogtreecommitdiffstats
path: root/package/network/config/netifd/files
diff options
context:
space:
mode:
Diffstat (limited to 'package/network/config/netifd/files')
-rw-r--r--package/network/config/netifd/files/etc/hotplug.d/iface/10-ipv6-static4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/network/config/netifd/files/etc/hotplug.d/iface/10-ipv6-static b/package/network/config/netifd/files/etc/hotplug.d/iface/10-ipv6-static
index 9f5b72716..7f671b1c2 100644
--- a/package/network/config/netifd/files/etc/hotplug.d/iface/10-ipv6-static
+++ b/package/network/config/netifd/files/etc/hotplug.d/iface/10-ipv6-static
@@ -10,6 +10,10 @@ case "$ACTION" in
if [ "$proto" = "static" -a "$ip6slaac" = "1" ]; then
echo 2 > "/proc/sys/net/ipv6/conf/$DEVICE/accept_ra"
echo 2 > "/proc/sys/net/ipv6/conf/$DEVICE/forwarding"
+
+ # Though this should be save here, it is not recommended
+ echo 1 > "/proc/sys/net/ipv6/conf/$DEVICE/disable_ipv6"
+ echo 0 > "/proc/sys/net/ipv6/conf/$DEVICE/disable_ipv6"
fi
;;
esac