diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/ip | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -47,11 +47,12 @@ ip_set() { case "$IP6" in dhcp*|stateless|static) [[ -d "/proc/sys/net/ipv6" ]] || modprobe ipv6 + sysctl -q -w "net.ipv6.conf.$interface_sysctl.disable_ipv6=0" [[ $IP6 == "static" ]] sysctl -q -w "net.ipv6.conf.$interface_sysctl.accept_ra=$?" ;; no) - [[ -d "/proc/sys/net/ipv6" ]] && sysctl -q -w "net.ipv6.conf.$interface_sysctl.accept_ra=0" + [[ -d "/proc/sys/net/ipv6" ]] && sysctl -q -w "net.ipv6.conf.$interface_sysctl.disable_ipv6=1" ;; "") # undefined IP6 does not prevent RA's from being received -> nop ;; |