From 66b7fccd303137d68cf571e79a0ffd7ca82f4b6a Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Wed, 15 Jun 2022 10:33:58 +0200 Subject: mod/bridge-port-to: log when re-enabling interfaces --- mod/bridge-port-to | 3 +++ 1 file changed, 3 insertions(+) (limited to 'mod/bridge-port-to') 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 ]; } -- cgit v1.2.3-70-g09d2