Browse Source

Don't apply ACL on DNS port on Android

pull/1331/head
Max Lv 7 years ago
parent
commit
9241e545f4
1 changed files with 1 additions and 1 deletions
  1. 2
      src/local.c

2
src/local.c

@ -660,7 +660,7 @@ server_recv_cb(EV_P_ ev_io *w, int revents)
LOGI("connect to [%s]:%s", ip, port); LOGI("connect to [%s]:%s", ip, port);
} }
if (acl) {
if (acl && !(vpn && strcmp(port, "53") == 0)) {
int host_match = acl_match_host(host); int host_match = acl_match_host(host);
int bypass = 0; int bypass = 0;
if (host_match > 0) if (host_match > 0)

Loading…
Cancel
Save