From 23c2f3221e202bc4b24052ab75aa13fe4b2da455 Mon Sep 17 00:00:00 2001 From: Christian Ulrich Date: Tue, 17 Nov 2020 22:52:46 +0100 Subject: [PATCH] we have to respond to the srcIp / srcPorts --- quicp2p.nim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/quicp2p.nim b/quicp2p.nim index 6cdcf6a..c84cad0 100644 --- a/quicp2p.nim +++ b/quicp2p.nim @@ -337,8 +337,8 @@ proc receive(ctx: QuicP2PContext, peerId: string) {.async.} = proc handleNotification(ctx: QuicP2PContext, notification: NotifyPeer) {.async.} = - let _ = await ctx.puncher.respond(notification.dstIp, notification.dstPort, - notification.probedDstPorts) + let _ = await ctx.puncher.respond(notification.srcIp, notification.srcPort, + notification.probedsrcPorts) proc runApp(ctx: QuicP2PContext, srcPort: Port, peerId: string) {.async.} = let serverConn = await initServerConnection(rendezvousServers[0].hostname,