we have to respond to the srcIp / srcPorts
This commit is contained in:
parent
c8a9a32a3f
commit
23c2f3221e
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue