This commit is contained in:
Max Lv
2015-02-08 19:23:42 +08:00
parent f87ee5b424
commit 7e46e3bacc
+1 -1
View File
@@ -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);
}