diff options
-rw-r--r-- | accesslist-duplicates.capsman | 4 | ||||
-rw-r--r-- | accesslist-duplicates.local | 4 | ||||
-rw-r--r-- | accesslist-duplicates.template | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/accesslist-duplicates.capsman b/accesslist-duplicates.capsman index e1f83a3..848ca52 100644 --- a/accesslist-duplicates.capsman +++ b/accesslist-duplicates.capsman @@ -14,8 +14,8 @@ :global Read; -:local Seen [ :toarray "" ]; -:local Shown [ :toarray "" ]; +:local Seen ({}); +:local Shown ({}); :foreach AccList in=[ /caps-man/access-list/find where mac-address!="00:00:00:00:00:00" ] do={ :local Mac [ /caps-man/access-list/get $AccList mac-address ]; diff --git a/accesslist-duplicates.local b/accesslist-duplicates.local index c1bf2a2..67f16f3 100644 --- a/accesslist-duplicates.local +++ b/accesslist-duplicates.local @@ -14,8 +14,8 @@ :global Read; -:local Seen [ :toarray "" ]; -:local Shown [ :toarray "" ]; +:local Seen ({}); +:local Shown ({}); :foreach AccList in=[ /interface/wireless/access-list/find where mac-address!="00:00:00:00:00:00" ] do={ :local Mac [ /interface/wireless/access-list/get $AccList mac-address ]; diff --git a/accesslist-duplicates.template b/accesslist-duplicates.template index 8ad8e8f..8676551 100644 --- a/accesslist-duplicates.template +++ b/accesslist-duplicates.template @@ -15,8 +15,8 @@ :global Read; -:local Seen [ :toarray "" ]; -:local Shown [ :toarray "" ]; +:local Seen ({}); +:local Shown ({}); :foreach AccList in=[ /%PATH%/access-list/find where mac-address!="00:00:00:00:00:00" ] do={ :local Mac [ /%PATH%/access-list/get $AccList mac-address ]; |