aboutsummaryrefslogtreecommitdiffstats
path: root/accesslist-duplicates.capsman
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2022-07-13 11:30:06 +0200
committerGravatar Christian Hesse <mail@eworm.de>2022-07-13 11:30:06 +0200
commit073f43220407d3995bbdf554340a8ba2f089ac94 (patch)
tree549b4119dcac3322f89960025f78c829c8e0f254 /accesslist-duplicates.capsman
parent5b2ea9b1a4f57bc7c61d06cd8b1e0a6452f031a8 (diff)
accesslist-duplicates: update initialization of empty array
Having the parenthesis here is important for valid syntax!
Diffstat (limited to 'accesslist-duplicates.capsman')
-rw-r--r--accesslist-duplicates.capsman4
1 files changed, 2 insertions, 2 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 ];