mirror of https://github.com/hak5/openwrt.git
lantiq: fix arcadyan vg3503j switch port indexing
Both version of the vg3503j have the LAN1 labelled port connected to switch port 4 and the LAN2 labelled port connected to switch port 2. Signed-off-by: Mathias Kresin <dev@kresin.me>openwrt-18.06
parent
7950e1b9f4
commit
c276abf061
|
@ -188,7 +188,7 @@ arcadyan,vg3503j)
|
||||||
lan_mac=$(mtd_get_mac_ascii uboot-env ethaddr)
|
lan_mac=$(mtd_get_mac_ascii uboot-env ethaddr)
|
||||||
wan_mac=$(macaddr_add "$lan_mac" 1)
|
wan_mac=$(macaddr_add "$lan_mac" 1)
|
||||||
ucidef_add_switch "switch0" \
|
ucidef_add_switch "switch0" \
|
||||||
"2:lan:1" "4:lan:2" "6t@eth0"
|
"2:lan:2" "4:lan:1" "6t@eth0"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
tplink,vr200v)
|
tplink,vr200v)
|
||||||
|
|
Loading…
Reference in New Issue