remove obsolute method getProtocol

This commit is contained in:
Christian Ulrich 2020-11-14 14:20:38 +01:00
parent 7831d2a6ed
commit ed125417cb
No known key found for this signature in database
GPG Key ID: 8241BE099775A097
1 changed files with 0 additions and 3 deletions

View File

@ -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)