aboutsummaryrefslogtreecommitdiffstats
path: root/collect-wireless-mac.local
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2021-01-03 20:33:32 +0100
committerGravatar Christian Hesse <mail@eworm.de>2021-01-03 20:33:32 +0100
commitc18f753338b806595bc861f5740365d165fcd7c3 (patch)
tree7c7c57126e59903ff2bc15f34f41d0489e65dcb2 /collect-wireless-mac.local
parent241d5fd2d7a3f5d7d79ef81ac5e1d736689ccdef (diff)
collect-wireless-mac: always use first entry to place before
Diffstat (limited to 'collect-wireless-mac.local')
-rw-r--r--collect-wireless-mac.local2
1 files changed, 1 insertions, 1 deletions
diff --git a/collect-wireless-mac.local b/collect-wireless-mac.local
index f9795f5..f9c135c 100644
--- a/collect-wireless-mac.local
+++ b/collect-wireless-mac.local
@@ -22,7 +22,7 @@ $ScriptLock "collect-wireless-mac.local";
/ interface wireless access-list add comment="--- collected above ---" disabled=yes;
$LogPrintExit warning "Added disabled access-list entry with comment '--- collected above ---'." false;
}
-:local PlaceBefore [ / interface wireless access-list find where comment="--- collected above ---" disabled ];
+:local PlaceBefore ([ / interface wireless access-list find where comment="--- collected above ---" disabled ]->0);
:foreach RegTbl in=[ / interface wireless registration-table find ] do={
:local Mac [ / interface wireless registration-table get $RegTbl mac-address ];