From c59d6e42f76d109399d95eeadacf51c3eb975862 Mon Sep 17 00:00:00 2001 From: Christian Ulrich Date: Thu, 22 Oct 2020 00:30:39 +0200 Subject: [PATCH] need to include empty extraArgs in tcp-nutss progress message --- punchd.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)