From 5cd786fb9a12b95b91823378c8417c24a1fee314 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Thu, 4 May 2023 09:09:21 +0200 Subject: [PATCH] ucentral-event: do not flush rate-limit on captive interfaces Fixes: WIFI-12305 Signed-off-by: John Crispin --- feeds/ucentral/ucentral-event/files/ucentral-event | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/feeds/ucentral/ucentral-event/files/ucentral-event b/feeds/ucentral/ucentral-event/files/ucentral-event index 36afb2ffd..29c0ec6c2 100755 --- a/feeds/ucentral/ucentral-event/files/ucentral-event +++ b/feeds/ucentral/ucentral-event/files/ucentral-event @@ -84,7 +84,7 @@ let handlers = { ssid: hapd.ssid, bssid: hapd.bssid, }); - if (ratelimit && !wildcard(notify.data.phy, 'wlanc*')) { + if (ratelimit && !wildcard(notify.data.ifname, 'wlanc*')) { let msg = { device: hapd.ifname, address: notify.data.address, @@ -99,7 +99,7 @@ let handlers = { }, disassoc: function(notify, hapd) { - if (ratelimit && !wildcard(notify.data.phy, 'wlanc*')) { + if (ratelimit && !wildcard(notify.data.ifname, 'wlanc*')) { let msg = { address: notify.data.address, };