summaryrefslogtreecommitdiff
path: root/package/base-files/files/bin/config_generate
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2014-08-18 13:16:35 +0000
committerJohn Crispin <john@openwrt.org>2014-08-18 13:16:35 +0000
commitdb6a292d4c08875f8667194db379b0c710a14bbb (patch)
tree38a0d4f5ce7f956e205d5d6f79d9a5baa22d439e /package/base-files/files/bin/config_generate
parentb7b8da135a105591c447859e67e68b203a935acd (diff)
downloadmtk-20170518-db6a292d4c08875f8667194db379b0c710a14bbb.zip
mtk-20170518-db6a292d4c08875f8667194db379b0c710a14bbb.tar.gz
mtk-20170518-db6a292d4c08875f8667194db379b0c710a14bbb.tar.bz2
base-files: wan6 should reference wan intead of referencing itself.
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42199
Diffstat (limited to 'package/base-files/files/bin/config_generate')
-rwxr-xr-xpackage/base-files/files/bin/config_generate2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/base-files/files/bin/config_generate b/package/base-files/files/bin/config_generate
index c435e7b..3529921 100755
--- a/package/base-files/files/bin/config_generate
+++ b/package/base-files/files/bin/config_generate
@@ -62,7 +62,7 @@ EOF
set network.$1.proto='dhcp'
delete network.wan6
set network.wan6='interface'
-set network.wan6.ifname='@wan6'
+set network.wan6.ifname='@wan'
set network.wan6.proto='dhcpv6'
EOF
;;