summaryrefslogtreecommitdiffstats
path: root/src/spf.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2011-03-03 17:08:37 +0300
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2011-03-03 17:08:37 +0300
commit2a2bc886c1b43a9c43a812959d7193cc03d7bc8d (patch)
tree99c0a23984497e9637a22e446d33b66c632788f1 /src/spf.h
parent0f2f88a6157250fecb9ce5d8d28b02b99739a2d2 (diff)
downloadrspamd-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.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/spf.h b/src/spf.h
index c65a1bf15..7a801254e 100644
--- a/src/spf.h
+++ b/src/spf.h
@@ -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;
};