diff options
-rw-r--r-- | collect-wireless-mac.capsman | 2 | ||||
-rw-r--r-- | collect-wireless-mac.local | 2 | ||||
-rw-r--r-- | collect-wireless-mac.template | 2 |
3 files changed, 3 insertions, 3 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 ]; 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 ]; diff --git a/collect-wireless-mac.template b/collect-wireless-mac.template index c10c827..1d031fe 100644 --- a/collect-wireless-mac.template +++ b/collect-wireless-mac.template @@ -23,7 +23,7 @@ $ScriptLock "collect-wireless-mac%TEMPL%"; / %PATH% access-list add comment="--- collected above ---" disabled=yes; $LogPrintExit warning "Added disabled access-list entry with comment '--- collected above ---'." false; } -:local PlaceBefore [ / %PATH% access-list find where comment="--- collected above ---" disabled ]; +:local PlaceBefore ([ / %PATH% access-list find where comment="--- collected above ---" disabled ]->0); :foreach RegTbl in=[ / %PATH% registration-table find ] do={ :local Mac [ / %PATH% registration-table get $RegTbl mac-address ]; |