we have to respond to the srcIp / srcPorts

master
Christian Ulrich 2020-11-17 22:52:46 +01:00
parent c8a9a32a3f
commit 23c2f3221e
No known key found for this signature in database
GPG Key ID: 8241BE099775A097
1 changed files with 2 additions and 2 deletions

View File

@ -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,