summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorignoramous <[email protected]>2022-03-26 20:43:48 +0530
committerDave Anderson <[email protected]>2022-03-26 16:43:10 -0700
commitbe3ee21c9fa0283869843039aa136fbf9b948bf0 (patch)
treeeeecf39f46f730db6dc52bca53a88f0e0c9c452e
parent2e577fef49e2458ca3da06b30409df8f4eacb21e (diff)
(doc): s/tlsproxy/tcpproxy
Signed-off-by: GitHub <[email protected]>
-rw-r--r--tcpproxy.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tcpproxy.go b/tcpproxy.go
index 6b4a440..321ac88 100644
--- a/tcpproxy.go
+++ b/tcpproxy.go
@@ -295,7 +295,7 @@ type Target interface {
HandleConn(net.Conn)
}
-// To is shorthand way of writing &tlsproxy.DialProxy{Addr: addr}.
+// To is shorthand way of writing &tcpproxy.DialProxy{Addr: addr}.
func To(addr string) *DialProxy {
return &DialProxy{Addr: addr}
}