From b543bf484af90acbf5b515ffd764ed7167600c29 Mon Sep 17 00:00:00 2001 From: jow Date: Sat, 12 Feb 2011 16:14:15 +0000 Subject: [package] base-file: cleanup ipv6 enabling in unbridge git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25473 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/base-files/files/lib/network/config.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'package/base-files') 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 } } -- cgit v1.2.3