Skip to content

Commit

Permalink
corerouter/ap: dsa: configure vlans as named objects
Browse files Browse the repository at this point in the history
  • Loading branch information
spolack authored and FFHener committed Dec 16, 2024
1 parent d2c73b0 commit 58b894c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/cfg_openwrt/templates/common/config/dsa.network.inc
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ config device
{{ portmapping.append(port|string + (":t" if tagged else "")) }}
{%- endfor %}

config bridge-vlan
config bridge-vlan 'vlan_{{ network['vid'] }}'
option device 'switch0'
option vlan '{{ network['vid'] }}'
option ports '{{ portmapping|join(' ') }}'
Expand Down

0 comments on commit 58b894c

Please sign in to comment.