aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2022-07-13 11:34:25 +0200
committerGravatar Christian Hesse <mail@eworm.de>2022-07-13 11:34:25 +0200
commit8436a189191060429fe3296aaafd9376ed9ad966 (patch)
tree4102179a8f75b7ea250d6e88790b3f7245d7df27 /mod
parent164ebe8c8ac57800af31c27d49d45a042fa96d8e (diff)
mod/bridge-port-to: update initialization of empty array
Having the parenthesis here is important for valid syntax!
Diffstat (limited to 'mod')
-rw-r--r--mod/bridge-port-to2
1 files changed, 1 insertions, 1 deletions
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={