aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
Diffstat (limited to 'mod')
-rw-r--r--mod/bridge-port-vlan3
1 files changed, 3 insertions, 0 deletions
diff --git a/mod/bridge-port-vlan b/mod/bridge-port-vlan
index fbdcda7..f8acca8 100644
--- a/mod/bridge-port-vlan
+++ b/mod/bridge-port-vlan
@@ -11,6 +11,7 @@
:global BridgePortVlan do={
:local ConfigTo [ :tostr $1 ];
+ :global CharacterReplace;
:global IfThenElse;
:global LogPrintExit2;
:global ParseKeyValueStore;
@@ -64,6 +65,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 ];
}