From d5ffdffd8c06c548cbbef1c43e1fa227316fe05d Mon Sep 17 00:00:00 2001 From: John Crispin Date: Tue, 23 Jan 2024 16:21:39 +0100 Subject: [PATCH] ucentral-state: with swconfig dvlan/local break-out mode Fixes: WIFI-13316 Signed-off-by: John Crispin --- feeds/ucentral/ucentral-event/files/ucentral-event | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/feeds/ucentral/ucentral-event/files/ucentral-event b/feeds/ucentral/ucentral-event/files/ucentral-event index 38993f9e..b69e46e2 100755 --- a/feeds/ucentral/ucentral-event/files/ucentral-event +++ b/feeds/ucentral/ucentral-event/files/ucentral-event @@ -126,7 +126,8 @@ handlers = { vlan: [ `${notify.data.vlan_id}:u` ] }; ubus.call('network.interface.up_none', 'add_device', msg); - + if (`${notify.data.vlan_id}` in config.config.swconfig_vlans) + return; msg = { name: 'eth0.' + notify.data.vlan_id, vlan: [ `${notify.data.vlan_id}:u` ]