mirror of
https://git.eworm.de/cgit/routeros-scripts
synced 2025-08-03 01:34:32 +02:00
mod/bridge-port-to: update initialization of empty array
Having the parenthesis here is important for valid syntax!
This commit is contained in:
parent
164ebe8c8a
commit
8436a18919
1 changed files with 1 additions and 1 deletions
|
@ -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={
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue