]> source.dussan.org Git - rspamd.git/commitdiff
Remove /0 mask for SPF mx as well.
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Wed, 22 Oct 2014 16:11:47 +0000 (17:11 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Wed, 22 Oct 2014 16:11:47 +0000 (17:11 +0100)
Reported by: @citrin

src/libserver/spf.c

index b8f5cbc5068e04be33567a922d54b9df237fd6f6..c30d893d1c4374018edb0e677309d0b0a5a79eae 100644 (file)
@@ -855,7 +855,6 @@ parse_spf_mx (struct rspamd_task *task,
        cb = rspamd_mempool_alloc (task->task_pool, sizeof (struct spf_dns_cb));
        cb->rec = rec;
        cb->addr = addr;
-       memset (&addr->data.normal, 0, sizeof (addr->data.normal));
        cb->cur_action = SPF_RESOLVE_MX;
        cb->in_include = rec->in_include;
        if (make_dns_request (task->resolver, task->s, task->task_pool,