fix indentation
This commit is contained in:
parent
c59d6e42f7
commit
504ff6795a
|
@ -108,7 +108,7 @@ proc initiate*(puncher: TcpSyniInitiator, srcPort: Port, dstIp: IpAddress,
|
||||||
let connectFuture = newFuture[AsyncSocket]("connect")
|
let connectFuture = newFuture[AsyncSocket]("connect")
|
||||||
for dstPort in attempt.dstPorts:
|
for dstPort in attempt.dstPorts:
|
||||||
asyncCheck connect(attempt.srcIp, attempt.srcPort, attempt.dstIp,
|
asyncCheck connect(attempt.srcIp, attempt.srcPort, attempt.dstIp,
|
||||||
dstPort, connectFuture)
|
dstPort, connectFuture)
|
||||||
await connectFuture or sleepAsync(Timeout)
|
await connectFuture or sleepAsync(Timeout)
|
||||||
await attempt.deleteFirewallRules()
|
await attempt.deleteFirewallRules()
|
||||||
puncher.attempts.del(puncher.attempts.find(attempt))
|
puncher.attempts.del(puncher.attempts.find(attempt))
|
||||||
|
|
Loading…
Reference in New Issue