From: David Pinilla Caparrós Date: Thu, 16 Jun 2016 15:26:16 +0000 (+0200) Subject: ar71xx: WDR4300: Fixed default VLAN order X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=bbbe9932e36351d366badcc3e7dd4a4a24410492;p=openwrt%2Fstaging%2Flinusw.git ar71xx: WDR4300: Fixed default VLAN order Reordered the VLANs so the LAN ports are set to VLAN 1 and the WAN port is set to VLAN 2, as in the other routers in the config file. Moreover, this model had this VLAN mapping in OpenWRT Chaos Calmer. It seems that the VLAN were switched when fixing a bug in the port mapping ( OpenWRT changeset 47799 ) Signed-off-by: David Pinilla Caparrós --- 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 9b5653b9e0..1ed593cc55 100755 --- a/target/linux/ar71xx/base-files/etc/board.d/02_network +++ b/target/linux/ar71xx/base-files/etc/board.d/02_network @@ -201,7 +201,7 @@ tellstick-znet-lite) tl-wdr4300|\ tl-wr1041n-v2) ucidef_add_switch "switch0" \ - "0@eth0" "1:wan" "2:lan:1" "3:lan:2" "4:lan:3" "5:lan:4" + "0@eth0" "2:lan:1" "3:lan:2" "4:lan:3" "5:lan:4" "1:wan" ;; tl-wr1043nd)