summaryrefslogtreecommitdiff
path: root/package/base-files/files/lib
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2011-02-12 16:14:15 +0000
committerJo-Philipp Wich <jow@openwrt.org>2011-02-12 16:14:15 +0000
commitee3a4c2ee9323592534177f9029ac3b4a1f8ca0c (patch)
tree32828ec95c41074106051aee4626d840a7d0b5af /package/base-files/files/lib
parente08740c7476ad87969b8068b4f4da49f9db946c9 (diff)
downloadmtk-20170518-ee3a4c2ee9323592534177f9029ac3b4a1f8ca0c.zip
mtk-20170518-ee3a4c2ee9323592534177f9029ac3b4a1f8ca0c.tar.gz
mtk-20170518-ee3a4c2ee9323592534177f9029ac3b4a1f8ca0c.tar.bz2
base-file: cleanup ipv6 enabling in unbridge
SVN-Revision: 25473
Diffstat (limited to 'package/base-files/files/lib')
-rwxr-xr-xpackage/base-files/files/lib/network/config.sh4
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 aa90077..def1562 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
}
}