]> git.ipfire.org Git - thirdparty/wireguard-go.git/commitdiff
Fix typo in timers
authorJason A. Donenfeld <Jason@zx2c4.com>
Sun, 27 May 2018 20:55:01 +0000 (22:55 +0200)
committerJason A. Donenfeld <Jason@zx2c4.com>
Sun, 27 May 2018 20:55:15 +0000 (22:55 +0200)
timers.go

index f455f821a4438882adee8aef58c9eb33542de2a2..e9746464b2a5d229287dafe19ba6c52f008ee92a 100644 (file)
--- a/timers.go
+++ b/timers.go
@@ -134,7 +134,7 @@ func expiredNewHandshake(peer *Peer) {
 }
 
 func expiredZeroKeyMaterial(peer *Peer) {
-       peer.device.log.Debug.Printf(":%s Removing all keys, since we haven't received a new one in %d seconds\n", peer, int((RejectAfterTime * 3).Seconds()))
+       peer.device.log.Debug.Printf("%s: Removing all keys, since we haven't received a new one in %d seconds\n", peer, int((RejectAfterTime * 3).Seconds()))
        peer.ZeroAndFlushAll()
 }