Don't apply ACL on DNS port on Android

This commit is contained in:
Max Lv
2017-03-16 13:06:10 +08:00
parent 5b9d7ccce5
commit 05f97abbb2
+1 -1
View File
@@ -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)