summaryrefslogtreecommitdiff
path: root/tcpproxy.go
diff options
context:
space:
mode:
Diffstat (limited to 'tcpproxy.go')
-rw-r--r--tcpproxy.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/tcpproxy.go b/tcpproxy.go
index 8a520f6..8a316c7 100644
--- a/tcpproxy.go
+++ b/tcpproxy.go
@@ -295,6 +295,7 @@ func UnderlyingConn(c net.Conn) net.Conn {
return c
}
+// HandleConn implements the Target interface.
func (dp *DialProxy) HandleConn(src net.Conn) {
ctx := context.Background()
var cancel context.CancelFunc