diff options
-rw-r--r-- | src/libserver/monitored.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } } |