aboutsummaryrefslogtreecommitdiffstats
path: root/bridge-port-to-default
diff options
context:
space:
mode:
Diffstat (limited to 'bridge-port-to-default')
-rw-r--r--bridge-port-to-default2
1 files changed, 1 insertions, 1 deletions
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={