aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files/lib/functions/uci-defaults.sh
diff options
context:
space:
mode:
authorSteven Barth <cyrus@openwrt.org>2014-10-08 13:08:05 +0000
committerSteven Barth <cyrus@openwrt.org>2014-10-08 13:08:05 +0000
commitc118e5edf4301dc303024603dd34d369d9926d6d (patch)
tree563395421170eb286377e375725db125b71ffd14 /package/base-files/files/lib/functions/uci-defaults.sh
parentfa5237d9362f96aa4427e959b8bbd98811d8c806 (diff)
downloadupstream-c118e5edf4301dc303024603dd34d369d9926d6d.tar.gz
upstream-c118e5edf4301dc303024603dd34d369d9926d6d.tar.bz2
upstream-c118e5edf4301dc303024603dd34d369d9926d6d.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> SVN-Revision: 42848
Diffstat (limited to 'package/base-files/files/lib/functions/uci-defaults.sh')
-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
}