aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2022-07-13 11:34:37 +0200
committerGravatar Christian Hesse <mail@eworm.de>2022-07-13 11:34:37 +0200
commit34ea2764695ad008fbb1ea4308160584491e7bc5 (patch)
treef49870d767f49e4eaa3b9df908dd479c859cd720
parent8436a189191060429fe3296aaafd9376ed9ad966 (diff)
mod/bridge-port-vlan: update initialization of empty array
Having the parenthesis here is important for valid syntax!
-rw-r--r--mod/bridge-port-vlan2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/bridge-port-vlan b/mod/bridge-port-vlan
index a43d7d7..9a6e08a 100644
--- a/mod/bridge-port-vlan
+++ b/mod/bridge-port-vlan
@@ -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,Vlan in=[ $ParseKeyValueStore ($BridgePortVal->"comment") ] do={