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:
parent
5ba84696e2
commit
0715bdf353
@ -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()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user