From: Daniel Gonzalez Cabanelas <dgcbueu@gmail.com>
Date: Mon, 20 Feb 2017 12:50:50 +0000 (+0100)
Subject: ar71xx: WNDR4300: Fix network vlan IDs
X-Git-Tag: v18.06.0-rc1~3364
X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=080c6fa476d1320f83ad56e6aeaa292960f63dc1;p=oweals%2Fopenwrt.git

ar71xx: WNDR4300: Fix network vlan IDs

The Netgear WNDR4300 has the VLAN IDs flipped in LuCi, fix it.

Signed-off-by: Daniel Gonzalez Cabanelas <dgcbueu@gmail.com>
---

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 e08d7dd0b0..a55e50affb 100755
--- a/target/linux/ar71xx/base-files/etc/board.d/02_network
+++ b/target/linux/ar71xx/base-files/etc/board.d/02_network
@@ -254,8 +254,7 @@ ar71xx_setup_interfaces()
 	esr900|\
 	mynet-n750|\
 	sr3200|\
-	wndr3700v4|\
-	wndr4300)
+	wndr3700v4)
 		ucidef_add_switch "switch0" \
 			"0@eth0" "1:lan" "2:lan" "3:lan" "4:lan" "5:wan"
 		;;
@@ -334,7 +333,8 @@ ar71xx_setup_interfaces()
 	dir-869-a1|\
 	epg5000|\
 	esr1750|\
-	tl-wr1043nd-v4)
+	tl-wr1043nd-v4|\
+	wndr4300)
 		ucidef_add_switch "switch0" \
 			"0@eth0" "1:lan:4" "2:lan:3" "3:lan:2" "4:lan:1" "5:wan"
 		;;