ar71xx/ipq806x/mediatek/mvebu: fix network defaults

After "73d923e base-files: emit tagged switch configuration by default"
some default network configurations are broken because the lan and wan
ifnames are forcibly set to untagged netdevs.

Adjust the offending set_interfaces_lan_wan() calls to use the proper
tagged device names.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
Jo-Philipp Wich
2017-02-07 08:55:46 +01:00
parent 62bf0d4958
commit ea269c37b8
4 changed files with 29 additions and 29 deletions

View File

@@ -13,7 +13,7 @@ mediatek_setup_interfaces()
eMMC | \
NAND | \
mt7623_evb)
ucidef_set_interfaces_lan_wan "eth0" "eth1"
ucidef_set_interfaces_lan_wan "eth0.1" "eth1.2"
ucidef_add_switch "switch0" \
"0:lan" "1:lan" "2:lan" "3:lan" "4:wan" "6@eth0" "5@eth1"
;;