specify the field name when initial SocksConn

master
fangdingjun 8 years ago
parent adb6d676c0
commit f79d8627f6

@ -255,7 +255,7 @@ func (cc *Client) handleRemoteForward(conn net.Conn, local string) {
} }
func (cc *Client) handleDynamicForward(conn net.Conn) { func (cc *Client) handleDynamicForward(conn net.Conn) {
s := socks.SocksConn{conn, cc.client.Dial} s := socks.SocksConn{ClientConn: conn, Dial: cc.client.Dial}
s.Serve() s.Serve()
} }

Loading…
Cancel
Save