From: Vsevolod Stakhov Date: Sun, 24 Jun 2018 18:03:07 +0000 (+0100) Subject: [Minor] Fix special reply check X-Git-Tag: 1.7.7~36 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=ab6c598f278afa9d5afb1a93089adcfc91d8003b;p=rspamd.git [Minor] Fix special reply check --- diff --git a/src/libserver/monitored.c b/src/libserver/monitored.c index ff4e4edab..7928615f9 100644 --- a/src/libserver/monitored.c +++ b/src/libserver/monitored.c @@ -304,7 +304,7 @@ rspamd_monitored_dns_cb (struct rdns_reply *reply, void *arg) LL_FOREACH (reply->entries, cur) { if (cur->type == RDNS_REQUEST_A) { if ((guint32)cur->content.a.addr.s_addr == - INADDR_LOOPBACK) { + htonl (INADDR_LOOPBACK)) { is_special_reply = TRUE; } }