From: Chuanhong Guo Date: Sat, 11 Feb 2017 13:32:07 +0000 (+0800) Subject: ramips: Correct switch configuration for Newifi D1 X-Git-Tag: v17.01.0~61 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=57dfbac6ff6934ce41cb40cda93caf93ad10053a;p=openwrt%2Fstaging%2Fchunkeey.git ramips: Correct switch configuration for Newifi D1 Signed-off-by: Chuanhong Guo --- diff --git a/target/linux/ramips/base-files/etc/board.d/02_network b/target/linux/ramips/base-files/etc/board.d/02_network index baf619f7a1..ef0f5a9660 100755 --- a/target/linux/ramips/base-files/etc/board.d/02_network +++ b/target/linux/ramips/base-files/etc/board.d/02_network @@ -235,11 +235,8 @@ ramips_setup_interfaces() "0:lan" "4:lan" "6t@eth0" ;; newifi-d1) - ucidef_set_interface_lan_wan "eth0.1" "eth0.2" ucidef_add_switch "switch0" \ - "0:lan" "1:lan" "2:lan" "3:lan" "5:wan" "6t@eth0" "7t@eth0" - ucidef_add_switch "switch1" \ - "4:lan" "6t@eth0" "7t@eth0" + "1:lan:2" "2:lan:1" "4:wan" "6@eth0" ;; rt-n56u) ucidef_add_switch "switch0" \