mirror of
https://github.com/shadowsocks/shadowsocks-libev.git
synced 2026-10-28 19:53:46 +00:00
Don't apply ACL on DNS port on Android
This commit is contained in:
+1
-1
@@ -660,7 +660,7 @@ server_recv_cb(EV_P_ ev_io *w, int revents)
|
||||
LOGI("connect to [%s]:%s", ip, port);
|
||||
}
|
||||
|
||||
if (acl) {
|
||||
if (acl && !(vpn && strcmp(port, "53") == 0)) {
|
||||
int host_match = acl_match_host(host);
|
||||
int bypass = 0;
|
||||
if (host_match > 0)
|
||||
|
||||
Reference in New Issue
Block a user