mirror of https://github.com/hak5/openwrt-owl.git
ar71xx: fix netgear wnr2000 v3 switch port mapping
Signed-off-by: Qian Zheng <sotux82@gmail.com> [Jo-Philipp Wich: fix alphabetical order after merging with gl-ar300 case] Signed-off-by: Jo-Philipp Wich <jo@mein.io>owl
parent
810eb8d0ea
commit
3d4069fb8e
|
@ -278,7 +278,6 @@ ar71xx_setup_interfaces()
|
||||||
tl-wr941nd-v5|\
|
tl-wr941nd-v5|\
|
||||||
tl-wr941nd-v6|\
|
tl-wr941nd-v6|\
|
||||||
wnr1000-v2|\
|
wnr1000-v2|\
|
||||||
wnr2000-v3|\
|
|
||||||
wnr2000-v4|\
|
wnr2000-v4|\
|
||||||
wnr2200|\
|
wnr2200|\
|
||||||
wnr612-v2|\
|
wnr612-v2|\
|
||||||
|
@ -328,7 +327,8 @@ ar71xx_setup_interfaces()
|
||||||
ucidef_add_switch "switch0" \
|
ucidef_add_switch "switch0" \
|
||||||
"2:lan" "3:lan" "4:lan" "5:lan" "6@eth1" "0@eth0" "1:wan"
|
"2:lan" "3:lan" "4:lan" "5:lan" "6@eth1" "0@eth0" "1:wan"
|
||||||
;;
|
;;
|
||||||
gl-ar300)
|
gl-ar300|\
|
||||||
|
wnr2000-v3)
|
||||||
ucidef_set_interfaces_lan_wan "eth1" "eth0"
|
ucidef_set_interfaces_lan_wan "eth1" "eth0"
|
||||||
ucidef_add_switch "switch0" \
|
ucidef_add_switch "switch0" \
|
||||||
"0@eth1" "1:lan" "2:lan" "3:lan" "4:lan"
|
"0@eth1" "1:lan" "2:lan" "3:lan" "4:lan"
|
||||||
|
|
Loading…
Reference in New Issue