ramips: correct switch configuration for Newifi D1

Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
This commit is contained in:
Chuanhong Guo 2017-02-11 21:32:07 +08:00 committed by John Crispin
parent 70395ae8cb
commit 634328c0de

View file

@ -237,11 +237,8 @@ ramips_setup_interfaces()
"0:lan" "4:lan" "6t@eth0" "0:lan" "4:lan" "6t@eth0"
;; ;;
newifi-d1) newifi-d1)
ucidef_set_interface_lan_wan "eth0.1" "eth0.2"
ucidef_add_switch "switch0" \ ucidef_add_switch "switch0" \
"0:lan" "1:lan" "2:lan" "3:lan" "5:wan" "6t@eth0" "7t@eth0" "1:lan:2" "2:lan:1" "4:wan" "6@eth0"
ucidef_add_switch "switch1" \
"4:lan" "6t@eth0" "7t@eth0"
;; ;;
rt-n56u) rt-n56u)
ucidef_add_switch "switch0" \ ucidef_add_switch "switch0" \