1
0
mirror of https://git.zx2c4.com/wireguard-go synced 2024-11-15 01:05:15 +01:00

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()