From 5660c8fb20d056eac495647bb1116883f269ed8d Mon Sep 17 00:00:00 2001
From: Tim Thorpe <tim@tfthorpe.net>
Date: Wed, 18 Apr 2018 17:50:05 -0500
Subject: [PATCH] ar71xx: TL-WR1043N v5: fix mapping of LAN ports to labels on
 housing.

Reversed the numbering of the LAN ports in Luci so as to match the port numbers on the housing.

Signed-off-by: Tim Thorpe <tim@tfthorpe.net>
---
 target/linux/ar71xx/base-files/etc/board.d/02_network | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/linux/ar71xx/base-files/etc/board.d/02_network b/target/linux/ar71xx/base-files/etc/board.d/02_network
index 75c90a2701..86f794dc00 100755
--- a/target/linux/ar71xx/base-files/etc/board.d/02_network
+++ b/target/linux/ar71xx/base-files/etc/board.d/02_network
@@ -311,7 +311,7 @@ ar71xx_setup_interfaces()
 	sr3200|\
 	tl-wr1043n-v5)
 		ucidef_add_switch "switch0" \
-			"0@eth0" "1:lan" "2:lan" "3:lan" "4:lan" "5:wan"
+			"0@eth0" "1:lan:4" "2:lan:3" "3:lan:2" "4:lan:1" "5:wan"
 		;;
 	dap-2695-a1)
 		ucidef_add_switch "switch0" "0@eth0" "2:lan" "3:wan" "6@eth1"
-- 
2.30.2