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 | ee3a4c2ee9323592534177f9029ac3b4a1f8ca0c (patch) | |
tree | 32828ec95c41074106051aee4626d840a7d0b5af /package | |
parent | e08740c7476ad87969b8068b4f4da49f9db946c9 (diff) | |
download | upstream-ee3a4c2ee9323592534177f9029ac3b4a1f8ca0c.tar.gz upstream-ee3a4c2ee9323592534177f9029ac3b4a1f8ca0c.tar.bz2 upstream-ee3a4c2ee9323592534177f9029ac3b4a1f8ca0c.zip |
base-file: cleanup ipv6 enabling in unbridge
SVN-Revision: 25473
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 } } |