diff options
author | Christian Hesse <mail@eworm.de> | 2022-06-15 10:33:34 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2022-06-15 16:39:49 +0200 |
commit | 1e894289ea26a7f2b3a55b21787a7af09bbfc9ac (patch) | |
tree | a4c6224cb7ac5eb007ecdf1f638460894d708f7c /mod/bridge-port-vlan | |
parent | 5dc23dd26743b788b891b4f3fb3ea6a7dbbc5941 (diff) |
mod/bridge-port-vlan: log when re-enabling interfaces
Diffstat (limited to 'mod/bridge-port-vlan')
-rw-r--r-- | mod/bridge-port-vlan | 3 |
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 ]; } |