aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-05-27 22:55:01 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2018-05-27 22:55:15 +0200
commit1d7845a600252daee850c90a31da40e59ca2254c (patch)
tree1a0dd77ed81d52faf428f11817e9c11458d83d8c
parentDisable broadcast mode on *BSD (diff)
downloadwireguard-go-1d7845a600252daee850c90a31da40e59ca2254c.tar.xz
wireguard-go-1d7845a600252daee850c90a31da40e59ca2254c.zip
Fix typo in timers
-rw-r--r--timers.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/timers.go b/timers.go
index f455f82..e974646 100644
--- 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()
}