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-default3
1 files changed, 0 insertions, 3 deletions
diff --git a/bridge-port-to-default b/bridge-port-to-default
index 572b3be..3a62a57 100644
--- a/bridge-port-to-default
+++ b/bridge-port-to-default
@@ -10,9 +10,6 @@
:foreach interface in=[ / interface bridge port find where comment!="" ] do={
:foreach comment in=[ :toarray [ / interface bridge port get $interface comment ] ] do={
- :if ([ :pick $comment 0 ] = " ") do={
- :set comment [ :pick $comment 1 [ :len $comment ] ];
- }
:if ([ :pick $comment 0 $len ] = ($"bridge-port-to" . ":")) do={
:local "interface-name" [ / interface bridge port get $interface interface ];
:local "bridge-default" [ :pick $comment $len [ :len $comment ] ];