mirror of
https://github.com/shadowsocks/shadowsocks-libev.git
synced 2026-10-25 18:23:42 +00:00
fix a bug
This commit is contained in:
+2
-2
@@ -432,8 +432,8 @@ static void server_recv_cb (EV_P_ ev_io *w, int revents)
|
||||
LOGD("connect to %s:%s", host, port);
|
||||
}
|
||||
|
||||
if ((request->atyp == 1 && acl_contains_ip(host))
|
||||
|| (request->atyp = 3 && acl_contains_domain(host)))
|
||||
if ((acl && request->atyp == 1 && acl_contains_ip(host))
|
||||
|| (acl && request->atyp = 3 && acl_contains_domain(host)))
|
||||
{
|
||||
remote = connect_to_remote(server->listener, host, port);
|
||||
remote->direct = 1;
|
||||
|
||||
Reference in New Issue
Block a user