diff options
author | Vsevolod Stakhov <vsevolod@rspamd.com> | 2022-10-01 15:17:27 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rspamd.com> | 2022-10-01 15:19:21 +0100 |
commit | 2e73868251c25c005b59bf1e8c0701b0ee21d37d (patch) | |
tree | b1c4d3082c16b39d41ba3d96a23c2731e7d7fe9a /src/libserver/maps/map.c | |
parent | 3cc3391a5697145f6a0506272d54ec88d8db8dd9 (diff) | |
download | rspamd-2e73868251c25c005b59bf1e8c0701b0ee21d37d.tar.gz rspamd-2e73868251c25c005b59bf1e8c0701b0ee21d37d.zip |
[Fix] Fix DNS reply handling for HTTP maps
Diffstat (limited to 'src/libserver/maps/map.c')
-rw-r--r-- | src/libserver/maps/map.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libserver/maps/map.c b/src/libserver/maps/map.c index f9933cee6..bb1f1f3fc 100644 --- a/src/libserver/maps/map.c +++ b/src/libserver/maps/map.c @@ -1217,7 +1217,7 @@ rspamd_map_dns_callback (struct rdns_reply *reply, void *arg) if (reply->code == RDNS_RC_NOERROR) { DL_FOREACH (reply->entries, cur_rep) { rspamd_inet_addr_t *addr; - addr = rspamd_inet_address_from_rnds (reply->entries); + addr = rspamd_inet_address_from_rnds (cur_rep); if (addr != NULL) { rspamd_inet_address_set_port (addr, cbd->data->port); |