From 1485bf2c42c3104696ec3a6c5e61ebe627a71c21 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Wed, 12 Feb 2020 15:02:41 +0000 Subject: [Rework] Move local IPs check --- src/worker.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/worker.c') diff --git a/src/worker.c b/src/worker.c index 4cfe27771..ad7f12674 100644 --- a/src/worker.c +++ b/src/worker.c @@ -371,7 +371,7 @@ accept_socket (EV_P_ ev_io *w, int revents) session->ctx = ctx; session->worker = worker; - if (ctx->encrypted_only && !rspamd_inet_address_is_local (addr, FALSE)) { + if (ctx->encrypted_only && !rspamd_inet_address_is_local (addr)) { http_opts = RSPAMD_HTTP_REQUIRE_ENCRYPTION; } -- cgit v1.2.3