summaryrefslogtreecommitdiff
path: root/tcpproxy.go
diff options
context:
space:
mode:
Diffstat (limited to 'tcpproxy.go')
-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}
}