aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Pinilla Caparrós <dpinitux@gmail.com>2016-06-16 17:26:16 +0200
committerJohn Crispin <john@phrozen.org>2016-06-17 04:13:07 +0200
commitbbbe9932e36351d366badcc3e7dd4a4a24410492 (patch)
tree1f096633f92e6945681ad57d3f21f2850f434170
parentb180f24a3b6f67b47681da8ee9f4c3c114d85ce8 (diff)
downloadupstream-bbbe9932e36351d366badcc3e7dd4a4a24410492.tar.gz
upstream-bbbe9932e36351d366badcc3e7dd4a4a24410492.tar.bz2
upstream-bbbe9932e36351d366badcc3e7dd4a4a24410492.zip
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 <dpinitux@gmail.com>
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/board.d/02_network2
1 files changed, 1 insertions, 1 deletions
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)