From 048fe2b2760ab307ad59a1a213f43bd376edc2d3 Mon Sep 17 00:00:00 2001 From: Astro Date: Thu, 20 Sep 2018 20:55:35 +0200 Subject: [PATCH] ap.sh: detail 1043 ports --- salt/cpe/ap.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/salt/cpe/ap.sh b/salt/cpe/ap.sh index e4a8378..8edd426 100644 --- a/salt/cpe/ap.sh +++ b/salt/cpe/ap.sh @@ -106,7 +106,7 @@ set network.@switch_vlan[0].comment='mgmt' set network.@switch_vlan[{{ switchnum }}]=switch_vlan set network.@switch_vlan[{{ switchnum }}].device='switch0' set network.@switch_vlan[{{ switchnum }}].vlan='{{ pillar['vlans'][net] }}' -# 0: eth1; 1-4: LAN ports; 5: WAN port; 6: eth0 +# 0: eth1; 1-4: LAN ports in reverse; 5: WAN port; 6: eth0 {%- if conf.get('lan-access') == net %} set network.@switch_vlan[{{ switchnum }}].ports='0 1 2 3 4 5t' {%- else %}