diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-06-24 19:03:07 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-06-24 19:03:07 +0100 |
commit | ab6c598f278afa9d5afb1a93089adcfc91d8003b (patch) | |
tree | b9c295ef721d85dad82c7072534635f104e4c479 /src | |
parent | 56d21aff0ef37216e17f2b115439a11ec3855588 (diff) | |
download | rspamd-ab6c598f278afa9d5afb1a93089adcfc91d8003b.tar.gz rspamd-ab6c598f278afa9d5afb1a93089adcfc91d8003b.zip |
[Minor] Fix special reply check
Diffstat (limited to 'src')
-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; } } |