diff options
author | John Crispin <john@openwrt.org> | 2014-11-19 09:20:18 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2014-11-19 09:20:18 +0000 |
commit | 6af2109a6401dfb05e2812c1c95bfc2620aa957d (patch) | |
tree | e1920a5a661f5b6e7b379cdb44573a34eaeb9ceb /target/linux | |
parent | d93dc245e56a8d65b25cc3b422e294750ef949c4 (diff) | |
download | mtk-20170518-6af2109a6401dfb05e2812c1c95bfc2620aa957d.zip mtk-20170518-6af2109a6401dfb05e2812c1c95bfc2620aa957d.tar.gz mtk-20170518-6af2109a6401dfb05e2812c1c95bfc2620aa957d.tar.bz2 |
ar71xx: fix switch configuration in Ubiquiti UAP Pro
Signed-off-by: Roger Pueyo Centelles <roger.pueyo@guifi.net>
SVN-Revision: 43306
Diffstat (limited to 'target/linux')
-rwxr-xr-x | target/linux/ar71xx/base-files/etc/uci-defaults/02_network | 5 |
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 a269c1f..5fde7b2 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) |