From 073f43220407d3995bbdf554340a8ba2f089ac94 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Wed, 13 Jul 2022 11:30:06 +0200 Subject: accesslist-duplicates: update initialization of empty array Having the parenthesis here is important for valid syntax! --- accesslist-duplicates.template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'accesslist-duplicates.template') 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 ]; -- cgit v1.2.3-54-g00ecf