ap.sh: detail 1043 ports

This commit is contained in:
Astro 2018-09-20 20:55:35 +02:00
parent 37a8680c8e
commit 048fe2b276
1 changed files with 1 additions and 1 deletions

View File

@ -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 %}