remove obsolute method getProtocol
This commit is contained in:
parent
7831d2a6ed
commit
ed125417cb
|
@ -134,9 +134,6 @@ method cleanup*(attempt: TcpSyniInitiateAttempt) {.async.} =
|
|||
method cleanup*(attempt: TcpSyniRespondAttempt) {.async.} =
|
||||
discard
|
||||
|
||||
method getProtocol*(puncher: TcpSyniPuncher): Protocol =
|
||||
IPPROTO_TCP
|
||||
|
||||
method parseInitiateRequest*(puncher: TcpSyniPuncher, args: string): Attempt =
|
||||
let parsed = parseMessage[InitiateRequest](args)
|
||||
let localIp = getPrimaryIPAddr(parsed.dstIp)
|
||||
|
|
Loading…
Reference in New Issue