mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2024-05-11 05:55:19 +00:00
accesslist-duplicates: update initialization of empty array
Having the parenthesis here is important for valid syntax!
This commit is contained in:
@@ -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 ];
|
||||
|
||||
Reference in New Issue
Block a user