From f41c62908006beb75ba820ea665aca0bb3395b58 Mon Sep 17 00:00:00 2001 From: fangdingjun Date: Fri, 16 Dec 2016 13:56:03 +0800 Subject: [PATCH] change to socks.Conn --- client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client.go b/client.go index 5a13602..d93dbf8 100644 --- a/client.go +++ b/client.go @@ -255,7 +255,7 @@ func (cc *Client) handleRemoteForward(conn net.Conn, local string) { } func (cc *Client) handleDynamicForward(conn net.Conn) { - s := socks.SocksConn{ClientConn: conn, Dial: cc.client.Dial} + s := socks.Conn{Conn: conn, Dial: cc.client.Dial} s.Serve() }