aboutsummaryrefslogtreecommitdiffstats
path: root/collect-wireless-mac.capsman
diff options
context:
space:
mode:
Diffstat (limited to 'collect-wireless-mac.capsman')
-rw-r--r--collect-wireless-mac.capsman2
1 files changed, 1 insertions, 1 deletions
diff --git a/collect-wireless-mac.capsman b/collect-wireless-mac.capsman
index d14cb10..fda401e 100644
--- a/collect-wireless-mac.capsman
+++ b/collect-wireless-mac.capsman
@@ -22,7 +22,7 @@ $ScriptLock "collect-wireless-mac.capsman";
/ caps-man access-list add comment="--- collected above ---" disabled=yes;
$LogPrintExit warning "Added disabled access-list entry with comment '--- collected above ---'." false;
}
-:local PlaceBefore [ / caps-man access-list find where comment="--- collected above ---" disabled ];
+:local PlaceBefore ([ / caps-man access-list find where comment="--- collected above ---" disabled ]->0);
:foreach RegTbl in=[ / caps-man registration-table find ] do={
:local Mac [ / caps-man registration-table get $RegTbl mac-address ];