From 58b894c641b9a3608b9c3bac93e35e0571133ae8 Mon Sep 17 00:00:00 2001 From: Simon Polack Date: Mon, 16 Dec 2024 08:28:53 +0100 Subject: [PATCH] corerouter/ap: dsa: configure vlans as named objects --- roles/cfg_openwrt/templates/common/config/dsa.network.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/cfg_openwrt/templates/common/config/dsa.network.inc b/roles/cfg_openwrt/templates/common/config/dsa.network.inc index 6d54781d4..6c46d4810 100644 --- a/roles/cfg_openwrt/templates/common/config/dsa.network.inc +++ b/roles/cfg_openwrt/templates/common/config/dsa.network.inc @@ -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(' ') }}'