[OpenWrt-Devel] [PATCH] ramips: fix wizfi630a swapped lan wan port

Lev leventelist at gmail.com
Sat Jun 30 12:06:47 EDT 2018


The order of the Ethernet ports were mixed up.
This commit fixes the order to be aligned with the physical layout.

Signed-off-by: Levente Kovacs <leventelist at gmail.com>
---
 target/linux/ramips/base-files/etc/board.d/02_network | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 e878752fb6..7b624090c3 100755
--- a/target/linux/ramips/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/base-files/etc/board.d/02_network
@@ -376,7 +376,7 @@ ramips_setup_interfaces()
 		;;
 	wizfi630a)
 		ucidef_add_switch "switch0" \
-			"1:lan" "2:lan" "0:wan" "6 at eth0"
+			"0:lan" "1:lan" "2:wan" "6 at eth0"
 		;;
 	wt3020-4M|\
 	wt3020-8M)
-- 
2.11.0

_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list