aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips
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:24:32 +0100
commit634328c0de7d12e567af7f2ebaf0b01c4f4bf156 (patch)
tree5d6bc257b64a63a8cd644e811c6372f4fd92cd75 /target/linux/ramips
parent70395ae8cbe0bc7d0d0b27b5088b9ac4b2f67f86 (diff)
downloadupstream-634328c0de7d12e567af7f2ebaf0b01c4f4bf156.tar.gz
upstream-634328c0de7d12e567af7f2ebaf0b01c4f4bf156.tar.bz2
upstream-634328c0de7d12e567af7f2ebaf0b01c4f4bf156.zip
ramips: correct switch configuration for Newifi D1
Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
Diffstat (limited to 'target/linux/ramips')
-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 3ef04e6d25..35ce00c185 100755
--- a/target/linux/ramips/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/base-files/etc/board.d/02_network
@@ -237,11 +237,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" \