mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2024-05-11 05:55:19 +00:00
mod/bridge-port-to: update initialization of empty array
Having the parenthesis here is important for valid syntax!
This commit is contained in:
@ -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={
|
||||
|
Reference in New Issue
Block a user