diff --git a/bridge-port-to-default b/bridge-port-to-default index 7051f34..55d383a 100644 --- a/bridge-port-to-default +++ b/bridge-port-to-default @@ -11,7 +11,7 @@ :global LogPrintExit; :global ParseKeyValueStore; -:foreach BridgePort in=[ / interface bridge port find where comment~"." ] do={ +: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={ :if ($Config = $BridgePortTo) do={