aboutsummaryrefslogtreecommitdiffstats
path: root/mod/bridge-port-to
diff options
context:
space:
mode:
Diffstat (limited to 'mod/bridge-port-to')
-rw-r--r--mod/bridge-port-to3
1 files changed, 3 insertions, 0 deletions
diff --git a/mod/bridge-port-to b/mod/bridge-port-to
index 415a04d..d53283d 100644
--- a/mod/bridge-port-to
+++ b/mod/bridge-port-to
@@ -11,6 +11,7 @@
:set BridgePortTo do={
:local BridgePortTo [ :tostr $1 ];
+ :global CharacterReplace;
:global IfThenElse;
:global LogPrintExit2;
:global ParseKeyValueStore;
@@ -56,6 +57,8 @@
}
:if ([ :len $InterfaceReEnable ] > 0) do={
:delay 2s;
+ $LogPrintExit2 info $0 ("Re-enabling interfaces: " . \
+ [ $CharacterReplace [ :tostr $InterfaceReEnable ] ";" " " ]) false;
:foreach Interface in=$InterfaceReEnable do={
/interface/ethernet/enable [ find where name=$Interface ];
}