Skip to content

Commit be3ee21

Browse files
ignoramousdanderson
authored andcommitted
(doc): s/tlsproxy/tcpproxy
Signed-off-by: GitHub <noreply@github.com>
1 parent 2e577fe commit be3ee21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tcpproxy.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ type Target interface {
295295
HandleConn(net.Conn)
296296
}
297297

298-
// To is shorthand way of writing &tlsproxy.DialProxy{Addr: addr}.
298+
// To is shorthand way of writing &tcpproxy.DialProxy{Addr: addr}.
299299
func To(addr string) *DialProxy {
300300
return &DialProxy{Addr: addr}
301301
}

0 commit comments

Comments
 (0)