aboutsummaryrefslogtreecommitdiffstats
path: root/WireGuard/WireGuard/Tunnel
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-12-22 02:21:07 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2018-12-22 02:21:07 +0100
commitf2000aa1dae2c6b4ca22ad6c52cd42c53d5f5cbd (patch)
tree0a2d46d240782ba41d86aa11901690f21b5077c7 /WireGuard/WireGuard/Tunnel
parentBump go bridge (diff)
downloadwireguard-apple-f2000aa1dae2c6b4ca22ad6c52cd42c53d5f5cbd.tar.xz
wireguard-apple-f2000aa1dae2c6b4ca22ad6c52cd42c53d5f5cbd.zip
Combine double log invocations
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'WireGuard/WireGuard/Tunnel')
-rw-r--r--WireGuard/WireGuard/Tunnel/TunnelsManager.swift6
1 files changed, 2 insertions, 4 deletions
diff --git a/WireGuard/WireGuard/Tunnel/TunnelsManager.swift b/WireGuard/WireGuard/Tunnel/TunnelsManager.swift
index bf5ab526..4913fd2b 100644
--- a/WireGuard/WireGuard/Tunnel/TunnelsManager.swift
+++ b/WireGuard/WireGuard/Tunnel/TunnelsManager.swift
@@ -395,8 +395,7 @@ class TunnelContainer: NSObject {
activationDelegate?.tunnelActivationAttemptFailed(tunnel: self, error: .failedWhileSaving(systemError: error!))
return
}
- wg_log(.debug, staticMessage: "startActivation: Tunnel saved after re-enabling")
- wg_log(.debug, staticMessage: "startActivation: Invoking startActivation")
+ wg_log(.debug, staticMessage: "startActivation: Tunnel saved after re-enabling, invoking startActivation")
self.startActivation(recursionCount: recursionCount + 1, lastError: NEVPNError(NEVPNError.configurationUnknown), activationDelegate: activationDelegate)
}
return
@@ -434,8 +433,7 @@ class TunnelContainer: NSObject {
activationDelegate?.tunnelActivationAttemptFailed(tunnel: self, error: .failedWhileLoading(systemError: systemError))
return
}
- wg_log(.debug, staticMessage: "startActivation: Tunnel reloaded")
- wg_log(.debug, staticMessage: "startActivation: Invoking startActivation")
+ wg_log(.debug, staticMessage: "startActivation: Tunnel reloaded, invoking startActivation")
self.startActivation(recursionCount: recursionCount + 1, lastError: systemError, activationDelegate: activationDelegate)
}
}