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)
|
proc handleNotification(ctx: QuicP2PContext, notification: NotifyPeer)
|
||||||
{.async.} =
|
{.async.} =
|
||||||
let _ = await ctx.puncher.respond(notification.dstIp, notification.dstPort,
|
let _ = await ctx.puncher.respond(notification.srcIp, notification.srcPort,
|
||||||
notification.probedDstPorts)
|
notification.probedsrcPorts)
|
||||||
|
|
||||||
proc runApp(ctx: QuicP2PContext, srcPort: Port, peerId: string) {.async.} =
|
proc runApp(ctx: QuicP2PContext, srcPort: Port, peerId: string) {.async.} =
|
||||||
let serverConn = await initServerConnection(rendezvousServers[0].hostname,
|
let serverConn = await initServerConnection(rendezvousServers[0].hostname,
|
||||||
|
|
Loading…
Reference in New Issue