[LEDE-DEV] [PATCH] base-files: config_generate: keep ipv6 interface in sync
Roman Yeryomin
roman at advem.lv
Tue Dec 5 08:22:47 PST 2017
It's better not to configure ifname separately since they
are tied together.
Signed-off-by: Roman Yeryomin <roman at advem.lv>
---
package/base-files/files/bin/config_generate | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package/base-files/files/bin/config_generate b/package/base-files/files/bin/config_generate
index a8311fc595..d7a6829d77 100755
--- a/package/base-files/files/bin/config_generate
+++ b/package/base-files/files/bin/config_generate
@@ -113,7 +113,7 @@ generate_network() {
set network.$1.proto='dhcp'
delete network.${1}6
set network.${1}6='interface'
- set network.${1}6.ifname='$ifname'
+ set network.${1}6.ifname='@${1}'
set network.${1}6.proto='dhcpv6'
EOF
;;
--
2.14.1
More information about the Lede-dev
mailing list