don't export ConnectAttempt and AcceptAttempt

This commit is contained in:
Christian Ulrich 2020-10-11 12:49:25 +02:00
parent 99912b4b69
commit 1b47048aad
No known key found for this signature in database
GPG Key ID: 8241BE099775A097
1 changed files with 2 additions and 2 deletions

View File

@ -15,14 +15,14 @@ var IP_TTL {.importc: "IP_TTL", header: "<netinet/in.h>".}: cint
const Timeout = 3000 const Timeout = 3000
type type
ConnectAttempt* = ref object ConnectAttempt = ref object
srcIp: IpAddress srcIp: IpAddress
srcPort: Port srcPort: Port
dstIp: IpAddress dstIp: IpAddress
dstPorts: seq[Port] dstPorts: seq[Port]
firewallRules: seq[string] firewallRules: seq[string]
AcceptAttempt* = ref object AcceptAttempt = ref object
srcIp: IpAddress srcIp: IpAddress
srcPort: Port srcPort: Port
dstIp: IpAddress dstIp: IpAddress