diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-03-03 17:08:37 +0300 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-03-03 17:08:37 +0300 |
commit | 2a2bc886c1b43a9c43a812959d7193cc03d7bc8d (patch) | |
tree | 99c0a23984497e9637a22e446d33b66c632788f1 /src/spf.h | |
parent | 0f2f88a6157250fecb9ce5d8d28b02b99739a2d2 (diff) | |
download | rspamd-2a2bc886c1b43a9c43a812959d7193cc03d7bc8d.tar.gz rspamd-2a2bc886c1b43a9c43a812959d7193cc03d7bc8d.zip |
* Fix parsing of include records in spf parser
Diffstat (limited to 'src/spf.h')
-rw-r--r-- | src/spf.h | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -26,8 +26,14 @@ typedef enum spf_action_e { } spf_action_t; struct spf_addr { - guint32 addr; - guint32 mask; + union { + struct { + guint32 addr; + guint32 mask; + } normal; + GList *list; + } data; + gboolean is_list; spf_mech_t mech; gchar *spf_string; }; |