aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChuanhong Guo <gch981213@gmail.com>2017-02-11 21:32:07 +0800
committerJohn Crispin <john@phrozen.org>2017-02-13 10:25:19 +0100
commit57dfbac6ff6934ce41cb40cda93caf93ad10053a (patch)
tree547619aaaae302b8aa2b6f1d73d79e9764f50234
parent32c9d467e341bae3e67329fb7503200900562ec2 (diff)
downloadupstream-57dfbac6ff6934ce41cb40cda93caf93ad10053a.tar.gz
upstream-57dfbac6ff6934ce41cb40cda93caf93ad10053a.tar.bz2
upstream-57dfbac6ff6934ce41cb40cda93caf93ad10053a.zip
ramips: Correct switch configuration for Newifi D1
Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/02_network5
1 files changed, 1 insertions, 4 deletions
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" \