From 690d7655a0c50e9f7b1c0e36886d612d1c9e84aa Mon Sep 17 00:00:00 2001 From: John Crispin Date: Mon, 10 Apr 2023 14:24:19 +0200 Subject: [PATCH] ucentral-event: fix dynamic vlan for devices where the WAN port is not eth0 Fixes: WIFI-12372 Signed-off-by: John Crispin --- feeds/ucentral/ucentral-event/files/ucentral-event | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/feeds/ucentral/ucentral-event/files/ucentral-event b/feeds/ucentral/ucentral-event/files/ucentral-event index 2da8d0617..36afb2ffd 100755 --- a/feeds/ucentral/ucentral-event/files/ucentral-event +++ b/feeds/ucentral/ucentral-event/files/ucentral-event @@ -36,7 +36,7 @@ let pending_events = []; function config_load() { uci.load('event'); config = uci.get_all('event'); - wan_ports = config.config?.wan_ports || [ 'eth0' ]; + wan_ports = config.config?.wan_port || [ 'eth0' ]; if (config.wifi?.filter == '*') config.wifi.filter = [ 'probe', 'auth', 'assoc', 'disassoc', 'deauth', 'local-deauth', 'inactive-deauth', 'key-mismatch', 'beacon-report', 'radar-detected' ];