summaryrefslogtreecommitdiff
path: root/target/linux/kirkwood/base-files/etc
diff options
context:
space:
mode:
authorSteven Barth <cyrus@openwrt.org>2013-04-09 08:03:08 +0000
committerSteven Barth <cyrus@openwrt.org>2013-04-09 08:03:08 +0000
commitea94d66b0fdb6a6853cd9ce8804c549fee6b553d (patch)
treeb1b411b81ea09041863013583c3a7e37e5b774f8 /target/linux/kirkwood/base-files/etc
parent3e4b2af125af9d775fef7ce09820bd9199005e14 (diff)
downloadmtk-20170518-ea94d66b0fdb6a6853cd9ce8804c549fee6b553d.zip
mtk-20170518-ea94d66b0fdb6a6853cd9ce8804c549fee6b553d.tar.gz
mtk-20170518-ea94d66b0fdb6a6853cd9ce8804c549fee6b553d.tar.bz2
Adapt default network configuration for IPv6
SVN-Revision: 36278
Diffstat (limited to 'target/linux/kirkwood/base-files/etc')
-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 48c1232..8c04fdb 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
}