From 1b47048aad4f7d665b49b16c01d3b00f08e0b266 Mon Sep 17 00:00:00 2001 From: Christian Ulrich Date: Sun, 11 Oct 2020 12:49:25 +0200 Subject: [PATCH] don't export ConnectAttempt and AcceptAttempt --- tcp_syni.nim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tcp_syni.nim b/tcp_syni.nim index e3c48db..768e143 100644 --- a/tcp_syni.nim +++ b/tcp_syni.nim @@ -15,14 +15,14 @@ var IP_TTL {.importc: "IP_TTL", header: "".}: cint const Timeout = 3000 type - ConnectAttempt* = ref object + ConnectAttempt = ref object srcIp: IpAddress srcPort: Port dstIp: IpAddress dstPorts: seq[Port] firewallRules: seq[string] - AcceptAttempt* = ref object + AcceptAttempt = ref object srcIp: IpAddress srcPort: Port dstIp: IpAddress