diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2011-02-12 16:14:15 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2011-02-12 16:14:15 +0000 |
commit | 8cdc32b47605e062e1a6b1cc7ad4235f8ade477f (patch) | |
tree | d0e50906d3277a237ca545de2663bc0dbb83848b /package | |
parent | a11783f9d6c04b5a8f9d2c85507839d5dd728733 (diff) | |
download | upstream-8cdc32b47605e062e1a6b1cc7ad4235f8ade477f.tar.gz upstream-8cdc32b47605e062e1a6b1cc7ad4235f8ade477f.tar.bz2 upstream-8cdc32b47605e062e1a6b1cc7ad4235f8ade477f.zip |
[package] base-file: cleanup ipv6 enabling in unbridge
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25473 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rwxr-xr-x | package/base-files/files/lib/network/config.sh | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/package/base-files/files/lib/network/config.sh b/package/base-files/files/lib/network/config.sh index aa90077ad9..def1562901 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 } } |