Fix wrong debug messages

This commit is contained in:
Jason A. Donenfeld 2018-04-20 07:13:40 +02:00
parent 5ba84696e2
commit 0715bdf353

View file

@ -419,6 +419,8 @@ func (device *Device) RoutineHandshake() {
peer.endpoint = elem.endpoint peer.endpoint = elem.endpoint
peer.mutex.Unlock() peer.mutex.Unlock()
logDebug.Println(peer, ": Received handshake initiation")
// create response // create response
response, err := device.CreateMessageResponse(peer) response, err := device.CreateMessageResponse(peer)
@ -475,7 +477,7 @@ func (device *Device) RoutineHandshake() {
peer.endpoint = elem.endpoint peer.endpoint = elem.endpoint
peer.mutex.Unlock() peer.mutex.Unlock()
logDebug.Println(peer, ": Received handshake initiation") logDebug.Println(peer, ": Received handshake response")
peer.TimerEphemeralKeyCreated() peer.TimerEphemeralKeyCreated()