diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-03-18 16:13:21 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-03-18 16:13:21 +0000 |
commit | cd603ad1e87f01b8872b5b44b48ce3de51da9120 (patch) | |
tree | 20336d189339df245a9b6610ad74d46f0c25f634 /src/libserver/spf.h | |
parent | 807bc3e2a88a562b7276ac8a15a77ddd3dd373c2 (diff) | |
download | rspamd-cd603ad1e87f01b8872b5b44b48ce3de51da9120.tar.gz rspamd-cd603ad1e87f01b8872b5b44b48ce3de51da9120.zip |
Rework DNS callback.
Diffstat (limited to 'src/libserver/spf.h')
-rw-r--r-- | src/libserver/spf.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/libserver/spf.h b/src/libserver/spf.h index c491cd8b4..93098e941 100644 --- a/src/libserver/spf.h +++ b/src/libserver/spf.h @@ -34,13 +34,14 @@ typedef enum spf_action_e { #define RSPAMD_SPF_FLAG_REFRENCE (1 << 4) struct spf_addr { - guchar addr[sizeof (struct in6_addr)]; + guchar addr6[sizeof (struct in6_addr)]; + guchar addr4[sizeof (struct in_addr)]; union { struct { guint16 mask_v4; guint16 mask_v6; } dual; - guint32 mask; + guint32 idx; } m; guint flags; spf_mech_t mech; |