fix build error with ss

fix:
./conn.go:154: undefined: shadowsocks.DialWithRawAddrConn
This commit is contained in:
chenhw2 2017-03-20 21:48:26 +08:00 committed by GitHub
parent aa075e6630
commit b486205b68

View File

@ -149,7 +149,7 @@ func (c *ProxyConn) Connect(addr string) error {
return err
}
ssc, err := ss.DialWithRawAddrConn(rawaddr, c.conn, cipher)
ssc, err := ss.DialWithRawAddr(rawaddr, c.Node.serverName, cipher.Copy())
if err != nil {
return err
}