aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/spf.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-03-18 17:10:00 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-03-18 17:10:00 +0000
commitbb00b2d8d4d116c600d6a4a05b5da14dbbe080a0 (patch)
tree6f8a7e9d7ab96d32d9c727744c826a4910f09446 /src/libserver/spf.h
parented1d6587a088d4a64c4ca47604da5b79280ef85a (diff)
downloadrspamd-bb00b2d8d4d116c600d6a4a05b5da14dbbe080a0.tar.gz
rspamd-bb00b2d8d4d116c600d6a4a05b5da14dbbe080a0.zip
Rework plain ip6/ip4 parsing.
Diffstat (limited to 'src/libserver/spf.h')
-rw-r--r--src/libserver/spf.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/libserver/spf.h b/src/libserver/spf.h
index 93098e941..395e4ef02 100644
--- a/src/libserver/spf.h
+++ b/src/libserver/spf.h
@@ -28,10 +28,11 @@ typedef enum spf_action_e {
} spf_action_t;
#define RSPAMD_SPF_FLAG_IPV6 (1 << 0)
-#define RSPAMD_SPF_FLAG_ANY (1 << 1)
-#define RSPAMD_SPF_FLAG_PARSED (1 << 2)
-#define RSPAMD_SPF_FLAG_VALID (1 << 3)
-#define RSPAMD_SPF_FLAG_REFRENCE (1 << 4)
+#define RSPAMD_SPF_FLAG_IPV4 (1 << 1)
+#define RSPAMD_SPF_FLAG_ANY (1 << 2)
+#define RSPAMD_SPF_FLAG_PARSED (1 << 3)
+#define RSPAMD_SPF_FLAG_VALID (1 << 4)
+#define RSPAMD_SPF_FLAG_REFRENCE (1 << 5)
struct spf_addr {
guchar addr6[sizeof (struct in6_addr)];