aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/kirkwood/base-files/etc/uci-defaults
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2013-04-09 08:03:08 +0000
committerSteven Barth <steven@midlink.org>2013-04-09 08:03:08 +0000
commit4c9003ffc74ee9c70ca54240e5ec77fbab2ad9ce (patch)
treea166641971bf319b21ee3b34daec10094b49e94d /target/linux/kirkwood/base-files/etc/uci-defaults
parentd60417f6ef256793248e9bcf485da7d2c46cefdc (diff)
downloadupstream-4c9003ffc74ee9c70ca54240e5ec77fbab2ad9ce.tar.gz
upstream-4c9003ffc74ee9c70ca54240e5ec77fbab2ad9ce.tar.bz2
upstream-4c9003ffc74ee9c70ca54240e5ec77fbab2ad9ce.zip
Adapt default network configuration for IPv6
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36278 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/kirkwood/base-files/etc/uci-defaults')
-rw-r--r--target/linux/kirkwood/base-files/etc/uci-defaults/02_network4
1 files changed, 4 insertions, 0 deletions
diff --git a/target/linux/kirkwood/base-files/etc/uci-defaults/02_network b/target/linux/kirkwood/base-files/etc/uci-defaults/02_network
index 48c1232d3d..8c04fdbf28 100644
--- a/target/linux/kirkwood/base-files/etc/uci-defaults/02_network
+++ b/target/linux/kirkwood/base-files/etc/uci-defaults/02_network
@@ -11,6 +11,10 @@ set_lan_dhcp() {
set network.lan='interface'
set network.lan.ifname='$ifname'
set network.lan.proto='dhcp'
+set network.lan6='interface'
+set network.lan6.ifname='@lan'
+set network.lan6.proto='dhcpv6'
+set network.lan6.reqprefix='no'
EOF
}