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