diff --git a/tcp_syni.nim b/tcp_syni.nim index 7413c49..4ff7be8 100644 --- a/tcp_syni.nim +++ b/tcp_syni.nim @@ -103,7 +103,7 @@ proc captureAndResendAck(puncher: TcpSyniPuncher, captureFd: AsyncFD, tcpSeqNumber: parsed.tcpSeqNumber, tcpFlags: parsed.tcpFlags) await injectFd.injectTcpPacket(ipPacket) - break + return proc initPuncher*(srcPort: Port, dstIp: IpAddress, dstPorts: array[3, Port], seqNums: seq[uint32] = @[]): TcpSyniPuncher =