diff options
Diffstat (limited to 'src/libserver/monitored.c')
-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 3aebaf660..cd8b4d675 100644 --- a/src/libserver/monitored.c +++ b/src/libserver/monitored.c @@ -365,7 +365,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 == + if ((uint32_t) cur->content.a.addr.s_addr == htonl(INADDR_LOOPBACK)) { is_special_reply = TRUE; } |