From 8436a189191060429fe3296aaafd9376ed9ad966 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Wed, 13 Jul 2022 11:34:25 +0200 Subject: mod/bridge-port-to: update initialization of empty array Having the parenthesis here is important for valid syntax! --- mod/bridge-port-to | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mod/bridge-port-to') diff --git a/mod/bridge-port-to b/mod/bridge-port-to index ae74824..3f62e6f 100644 --- a/mod/bridge-port-to +++ b/mod/bridge-port-to @@ -15,7 +15,7 @@ :global LogPrintExit2; :global ParseKeyValueStore; - :local InterfaceReEnable [ :toarray "" ]; + :local InterfaceReEnable ({}); :foreach BridgePort in=[ /interface/bridge/port/find where !(comment=[]) ] do={ :local BridgePortVal [ /interface/bridge/port/get $BridgePort ]; :foreach Config,BridgeDefault in=[ $ParseKeyValueStore ($BridgePortVal->"comment") ] do={ -- cgit v1.2.3-70-g09d2