aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files/lib/functions
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2014-10-08 13:08:05 +0000
committerSteven Barth <steven@midlink.org>2014-10-08 13:08:05 +0000
commit3823e9634d2c0c95e9cf42e9f616392613067f8e (patch)
treeb5a7a01ff29abe5ccde1d4469aaa47b2c797d715 /package/base-files/files/lib/functions
parente1219a24e281d6ca0f79cf7f37afcc41d66c12de (diff)
downloadupstream-3823e9634d2c0c95e9cf42e9f616392613067f8e.tar.gz
upstream-3823e9634d2c0c95e9cf42e9f616392613067f8e.tar.bz2
upstream-3823e9634d2c0c95e9cf42e9f616392613067f8e.zip
network: Unbind DHCPv6 from underlying interfaces
This allows IPv6 to set up without IPv4 being up thus IPv6-only or IPv6+DS-Lite working with the default config. Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42848 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/base-files/files/lib/functions')
-rw-r--r--package/base-files/files/lib/functions/uci-defaults.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/base-files/files/lib/functions/uci-defaults.sh b/package/base-files/files/lib/functions/uci-defaults.sh
index e90090c40b..798d6baa79 100644
--- a/package/base-files/files/lib/functions/uci-defaults.sh
+++ b/package/base-files/files/lib/functions/uci-defaults.sh
@@ -190,7 +190,7 @@ set network.wan='interface'
set network.wan.ifname='$ifname'
set network.wan.proto='dhcp'
set network.wan6='interface'
-set network.wan6.ifname='@wan'
+set network.wan6.ifname='$ifname'
set network.wan6.proto='dhcpv6'
EOF
}