X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/66628eee0046868d45eab3fafdb08151006121fc..b543bf484af90acbf5b515ffd764ed7167600c29:/package/base-files/files/lib/network/config.sh diff --git a/package/base-files/files/lib/network/config.sh b/package/base-files/files/lib/network/config.sh index aa90077ad..def156290 100755 --- a/package/base-files/files/lib/network/config.sh +++ b/package/base-files/files/lib/network/config.sh @@ -416,9 +416,7 @@ unbridge() { for brdev in $(brctl show | awk '$2 ~ /^[0-9].*\./ { print $1 }'); do brctl delif "$brdev" "$dev" 2>/dev/null >/dev/null - do_sysctl net.ipv6.conf.$dev.disable_ipv6 0 - [ "${dev##wlan}" != "$dev" ] && \ - do_sysctl net.ipv6.conf.mon.$dev.disable_ipv6 0 + do_sysctl "net.ipv6.conf.$dev.disable_ipv6" 0 done } }