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() }