need to include empty extraArgs in tcp-nutss progress message

This commit is contained in:
Christian Ulrich 2020-10-22 00:30:39 +02:00
parent 7691b984a8
commit c59d6e42f7
No known key found for this signature in database
GPG Key ID: 8241BE099775A097
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@ proc handleRequest(punchd: Punchd, line: string,
proc progress() {.async.} =
echo "progress!"
let content = @["tcp-nutss", $req.srcIp, req.srcPorts.join(","),
$req.dstIp, req.dstPorts.join(",")].join("|")
$req.dstIp, req.dstPorts.join(","), ""].join("|")
await sendToClient(unixSock, &"progress|{id}|{content}\n")
sock = await punchd.tcpNutssInitiator.initiate(req.srcPorts[0], req.dstIp,
req.dstPorts, progress)