diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2012-04-20 20:02:28 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2012-04-20 20:02:28 +0400 |
commit | 4d4668a0d4022583208d20bac9b8a0bede6f073d (patch) | |
tree | 14fbacb9511c738b40919aecbf168151605d28cb /src/dns.h | |
parent | 6cc47586dbcbf21fb67be92f6736fd76ca8baffb (diff) | |
download | rspamd-4d4668a0d4022583208d20bac9b8a0bede6f073d.tar.gz rspamd-4d4668a0d4022583208d20bac9b8a0bede6f073d.zip |
* Fix spf plugin that was broken in 0.4.7
* Add partial ipv6 support for some rspamd modules.
Diffstat (limited to 'src/dns.h')
-rw-r--r-- | src/dns.h | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -68,7 +68,8 @@ enum rspamd_request_type { DNS_REQUEST_MX, DNS_REQUEST_TXT, DNS_REQUEST_SRV, - DNS_REQUEST_SPF + DNS_REQUEST_SPF, + DNS_REQUEST_AAA }; struct rspamd_dns_request { @@ -100,6 +101,11 @@ union rspamd_reply_element { struct in_addr addr[MAX_ADDRS]; guint16 addrcount; } a; +#ifdef HAVE_INET_PTON + struct { + struct in6_addr addr; + } aaa; +#endif struct { gchar *name; } ptr; |