Author: blogic
Date: 2014-11-19 10:20:18 +0100 (Wed, 19 Nov 2014)
New Revision: 43306

Modified:
   trunk/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
Log:
ar71xx: fix switch configuration in Ubiquiti UAP Pro

Signed-off-by: Roger Pueyo Centelles <[email protected]>

Modified: trunk/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
===================================================================
--- trunk/target/linux/ar71xx/base-files/etc/uci-defaults/02_network    
2014-11-19 09:20:12 UTC (rev 43305)
+++ trunk/target/linux/ar71xx/base-files/etc/uci-defaults/02_network    
2014-11-19 09:20:18 UTC (rev 43306)
@@ -215,9 +215,10 @@
        ;;
 
 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)
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to