From debd8247b89e0d2b0fe7894f73dc08ebaf002a3a Mon Sep 17 00:00:00 2001 From: Christian Ulrich Date: Wed, 18 Nov 2020 18:24:19 +0100 Subject: [PATCH] more debug output --- puncher.nim | 2 ++ 1 file changed, 2 insertions(+) diff --git a/puncher.nim b/puncher.nim index 9bf5776..69043e2 100644 --- a/puncher.nim +++ b/puncher.nim @@ -101,6 +101,8 @@ proc handleMsg*(puncher: Puncher, msg: string, peerIp: IpAddress, echo &"handling QUIC message from {peerIp}:{peerPort}" puncher.attempts[i].future.complete(peerPort) puncher.attempts.del(i) + else: + echo &"received unexpected packet from {peerIp}:{peerPort}" proc handleMsg*(puncher: Puncher, msg: string, peerAddr: SockAddr | Sockaddr_storage, peerSockLen: SockLen) =