mirror of
https://github.com/eworm-de/routeros-scripts
synced 2024-05-14 08:04:19 +00:00
accesslist-duplicates: update initialization of empty array
Having the parenthesis here is important for valid syntax!
This commit is contained in:
parent
5b2ea9b1a4
commit
073f432204
3 changed files with 6 additions and 6 deletions
|
@ -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 ];
|
||||
|
|
|
@ -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 ];
|
||||
|
|
|
@ -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 ];
|
||||
|
|
Loading…
Reference in a new issue