aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2014-11-19 09:20:18 +0000
committerJohn Crispin <blogic@openwrt.org>2014-11-19 09:20:18 +0000
commit7b609683dca04f99250acb77057300fe527b6d42 (patch)
tree24f62600900e1fb78eb12d78f108d4685ae9b8cb /target/linux/ar71xx/base-files
parentab806e3a1e7a2993b343d680a5168548d34ae563 (diff)
downloadmaster-187ad058-7b609683dca04f99250acb77057300fe527b6d42.tar.gz
master-187ad058-7b609683dca04f99250acb77057300fe527b6d42.tar.bz2
master-187ad058-7b609683dca04f99250acb77057300fe527b6d42.zip
ar71xx: fix switch configuration in Ubiquiti UAP Pro
Signed-off-by: Roger Pueyo Centelles <roger.pueyo@guifi.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43306 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/base-files')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/uci-defaults/02_network5
1 files changed, 3 insertions, 2 deletions
diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
index a269c1f330..5fde7b2b46 100755
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
@@ -215,9 +215,10 @@ wnr612-v2)
;;
uap-pro)
- ucidef_set_interface_lan "eth0"
+ ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
ucidef_add_switch "switch0" "1" "1"
- ucidef_add_switch_vlan "switch0" "1" "0 1 2"
+ ucidef_add_switch_vlan "switch0" "1" "0t 1"
+ ucidef_add_switch_vlan "switch0" "2" "0t 2"
;;
nanostation-m-xw)