exit: sort permitted VLANs on bridge interfaces
This commit is contained in:
parent
69754962c5
commit
41ea3314c9
1 changed files with 1 additions and 1 deletions
|
|
@ -43,7 +43,7 @@ iface {{ iface.name }}
|
|||
{% if iface.mode.value == 'access' and iface.untagged_vlan %}
|
||||
bridge-access {{ iface.untagged_vlan.vid }}
|
||||
{% elif iface.mode.value == 'tagged' and iface.tagged_vlans %}
|
||||
bridge-vids {{ iface.tagged_vlans | map(attribute='vid') | join(' ') }}
|
||||
bridge-vids {{ iface.tagged_vlans | map(attribute='vid') | sort | join(' ') }}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue