mod/bridge-port-to: update initialization of empty array

Having the parenthesis here is important for valid syntax!
This commit is contained in:
Christian Hesse 2022-07-13 11:34:25 +02:00
parent 164ebe8c8a
commit 8436a18919

View file

@ -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={