This commit is contained in:
Max Lv
2016-10-29 13:38:07 +08:00
parent cfae8dcfcc
commit 4a760fd50b
+1 -1
View File
@@ -802,7 +802,7 @@ server_recv_cb(EV_P_ ev_io *w, int revents)
close_and_free_server(EV_A_ server);
return;
}
if (outbound_block_match_host(host) == 1) {
if (acl && outbound_block_match_host(host) == 1) {
if (verbose)
LOGI("outbound blocked %s", host);
close_and_free_server(EV_A_ server);