aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2023-10-05 22:08:26 +0200
committerGravatar Christian Hesse <mail@eworm.de>2023-10-05 22:08:26 +0200
commitfedda2a946a336fd9204488b179d30ce1f0a5730 (patch)
treeaa79bdd3568b5ee87fb2928821a4c907894eaaa9
parenteef0662aa7c6213855044ae9bdc84e8326512913 (diff)
collect-wireless-mac: ignore remote aps...
... which are listed here in station mode.
-rw-r--r--collect-wireless-mac.local.rsc2
-rw-r--r--collect-wireless-mac.template.rsc2
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 ];