diff --git a/punchd.nim b/punchd.nim index f9f7a94..9f48ffe 100644 --- a/punchd.nim +++ b/punchd.nim @@ -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)