Skip to content

Commit

Permalink
Don't apply ACL on DNS port on Android
Browse files Browse the repository at this point in the history
  • Loading branch information
madeye committed Mar 16, 2017
1 parent 5b9d7cc commit 05f97ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/local.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 05f97ab

Please sign in to comment.