From: Mathias Kresin Date: Thu, 21 Jun 2018 18:45:53 +0000 (+0200) Subject: lantiq: fix arcadyan vg3503j switch port indexing X-Git-Tag: v19.07.0-rc1~3351 X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fopenwrt.git;a=commitdiff_plain;h=004fe8962090aba170b866aaba5526d4f96c8d6d 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 --- diff --git a/target/linux/lantiq/base-files/etc/board.d/02_network b/target/linux/lantiq/base-files/etc/board.d/02_network index 9da01d14cc..6e2e1934ae 100755 --- a/target/linux/lantiq/base-files/etc/board.d/02_network +++ b/target/linux/lantiq/base-files/etc/board.d/02_network @@ -191,7 +191,7 @@ arcadyan,vg3503j) lan_mac=$(mtd_get_mac_ascii uboot-env ethaddr) wan_mac=$(macaddr_add "$lan_mac" 1) ucidef_add_switch "switch0" \ - "2:lan:1" "4:lan:2" "6t@eth0" + "2:lan:2" "4:lan:1" "6t@eth0" ;; tplink,vr200v)