From fedda2a946a336fd9204488b179d30ce1f0a5730 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Thu, 5 Oct 2023 22:08:26 +0200 Subject: collect-wireless-mac: ignore remote aps... ... which are listed here in station mode. --- collect-wireless-mac.local.rsc | 2 +- collect-wireless-mac.template.rsc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/collect-wireless-mac.local.rsc b/collect-wireless-mac.local.rsc index 3b97b52..0594ceb 100644 --- a/collect-wireless-mac.local.rsc +++ b/collect-wireless-mac.local.rsc @@ -33,7 +33,7 @@ $ScriptLock $0 false 10; } :local PlaceBefore ([ /interface/wireless/access-list/find where comment="--- collected above ---" disabled ]->0); -:foreach Reg in=[ /interface/wireless/registration-table/find ] do={ +:foreach Reg in=[ /interface/wireless/registration-table/find where ap=no ] do={ :local RegVal; :do { :set RegVal [ /interface/wireless/registration-table/get $Reg ]; diff --git a/collect-wireless-mac.template.rsc b/collect-wireless-mac.template.rsc index bba151a..75073a4 100644 --- a/collect-wireless-mac.template.rsc +++ b/collect-wireless-mac.template.rsc @@ -42,7 +42,7 @@ $ScriptLock $0 false 10; :foreach Reg in=[ /caps-man/registration-table/find ] do={ :foreach Reg in=[ /interface/wifiwave2/registration-table/find ] do={ -:foreach Reg in=[ /interface/wireless/registration-table/find ] do={ +:foreach Reg in=[ /interface/wireless/registration-table/find where ap=no ] do={ :local RegVal; :do { :set RegVal [ /caps-man/registration-table/get $Reg ]; -- cgit v1.2.3-70-g09d2