summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorEmīls <emils@mullvad.net>2020-09-24 11:33:17 +0100
committerEmīls <emils@mullvad.net>2020-09-25 17:23:07 +0100
commit15b2bf462ebf58fe488d9e5d8682b4d9030f69a9 (patch)
treebe9d63b365c96f8cc0b02779abb6b8b3e6a8dd4c
parent081440f2d315f86ef535496e87866c40d19499dc (diff)
downloadmullvadvpn-15b2bf462ebf58fe488d9e5d8682b4d9030f69a9.tar.xz
mullvadvpn-15b2bf462ebf58fe488d9e5d8682b4d9030f69a9.zip
Add extra logging for when key rotation doesn't start
-rw-r--r--mullvad-daemon/src/wireguard.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/mullvad-daemon/src/wireguard.rs b/mullvad-daemon/src/wireguard.rs
index b364a71a3a..0e13496b0a 100644
--- a/mullvad-daemon/src/wireguard.rs
+++ b/mullvad-daemon/src/wireguard.rs
@@ -375,7 +375,7 @@ impl KeyManager {
self.stop_automatic_rotation();
if self.auto_rotation_interval == Duration::new(0, 0) {
- // disabled
+ log::debug!("Not running key rotation because it's disabled");
return;
}