aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mediatek/base-files
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2017-02-07 08:55:46 +0100
committerJo-Philipp Wich <jo@mein.io>2017-02-07 09:32:28 +0100
commitea269c37b83b9e6b93e35d576b49a6e0ae8ea0b9 (patch)
treea1c247c4ed40a5466c4ba91f5ab3d8658ba43aa6 /target/linux/mediatek/base-files
parent62bf0d495810429bdda8cd2ebf94ef395f8111fd (diff)
downloadupstream-ea269c37b83b9e6b93e35d576b49a6e0ae8ea0b9.tar.gz
upstream-ea269c37b83b9e6b93e35d576b49a6e0ae8ea0b9.tar.bz2
upstream-ea269c37b83b9e6b93e35d576b49a6e0ae8ea0b9.zip
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>
Diffstat (limited to 'target/linux/mediatek/base-files')
-rwxr-xr-xtarget/linux/mediatek/base-files/etc/board.d/02_network2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/mediatek/base-files/etc/board.d/02_network b/target/linux/mediatek/base-files/etc/board.d/02_network
index 1d1b5c021a..2549ff954e 100755
--- a/target/linux/mediatek/base-files/etc/board.d/02_network
+++ b/target/linux/mediatek/base-files/etc/board.d/02_network
@@ -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"
;;