summaryrefslogtreecommitdiffhomepage
path: root/send.go
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-12-19 00:35:53 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2018-12-19 00:35:53 +0100
commita8326ae753975e73602958c1d7bbfe1174912ff9 (patch)
tree808003d8f9da84b5131b9f517fb04f492365abdd /send.go
parent05cc0c829821d43cb45dc777e8dbde296304cbeb (diff)
Make error messages consistent
Diffstat (limited to 'send.go')
-rw-r--r--send.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/send.go b/send.go
index 07e43e1..6edc6d7 100644
--- a/send.go
+++ b/send.go
@@ -206,7 +206,7 @@ func (peer *Peer) SendHandshakeResponse() error {
func (device *Device) SendHandshakeCookie(initiatingElem *QueueHandshakeElement) error {
- device.log.Debug.Println("Sending cookie reply to:", initiatingElem.endpoint.DstToString())
+ device.log.Debug.Println("Sending cookie response for denied handshake message for", initiatingElem.endpoint.DstToString())
sender := binary.LittleEndian.Uint32(initiatingElem.packet[4:8])
reply, err := device.cookieChecker.CreateReply(initiatingElem.packet, sender, initiatingElem.endpoint.DstToBytes())