diff options
Diffstat (limited to 'collect-wireless-mac.local')
-rw-r--r-- | collect-wireless-mac.local | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/collect-wireless-mac.local b/collect-wireless-mac.local index 3b86d72..8d23317 100644 --- a/collect-wireless-mac.local +++ b/collect-wireless-mac.local @@ -17,7 +17,7 @@ $ScriptLock "collect-wireless-mac.local"; -:if ([ / interface wireless access-list print count-only where comment="--- collected above ---" disabled ] = 0) do={ +:if ([ :len [ / interface wireless access-list find where comment="--- collected above ---" disabled ] ] = 0) do={ / interface wireless access-list add comment="--- collected above ---" disabled=yes; $LogPrintExit warning "Added disabled access-list entry with comment '--- collected above ---'." false; } |