Browse Source

fix #258

pull/261/head
Max Lv 9 years ago
parent
commit
7e46e3bacc
1 changed files with 1 additions and 1 deletions
  1. 2
      src/server.c

2
src/server.c

@ -519,7 +519,7 @@ static void server_recv_cb(EV_P_ ev_io *w, int revents)
return;
}
if (acl && (atyp == 1 || atyp == 4) && acl_contains_ip(host)) {
if (acl && !need_query && acl_contains_ip(host)) {
if (verbose) {
LOGI("Access denied to %s", host);
}

Loading…
Cancel
Save