From 0715bdf353dd670bf7c3af332a8dabbe30187a1d Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Fri, 20 Apr 2018 07:13:40 +0200 Subject: [PATCH] Fix wrong debug messages --- receive.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/receive.go b/receive.go index 1045cee..ca20900 100644 --- a/receive.go +++ b/receive.go @@ -419,6 +419,8 @@ func (device *Device) RoutineHandshake() { peer.endpoint = elem.endpoint peer.mutex.Unlock() + logDebug.Println(peer, ": Received handshake initiation") + // create response response, err := device.CreateMessageResponse(peer) @@ -475,7 +477,7 @@ func (device *Device) RoutineHandshake() { peer.endpoint = elem.endpoint peer.mutex.Unlock() - logDebug.Println(peer, ": Received handshake initiation") + logDebug.Println(peer, ": Received handshake response") peer.TimerEphemeralKeyCreated()