aboutsummaryrefslogtreecommitdiffstats
path: root/src/dns.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2014-01-02 17:43:35 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2014-01-02 17:43:35 +0000
commitf11da523576c2cc1d07e1d9baa99572479bf42eb (patch)
treefc41e98f9d991fd8ccb6bcd7b5e2f4c082e70b7e /src/dns.h
parent5666e4872245117ada3c06b22cc700cf138cd6e4 (diff)
downloadrspamd-f11da523576c2cc1d07e1d9baa99572479bf42eb.tar.gz
rspamd-f11da523576c2cc1d07e1d9baa99572479bf42eb.zip
Add support for edns0 in rspamd.
Diffstat (limited to 'src/dns.h')
-rw-r--r--src/dns.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dns.h b/src/dns.h
index 68aa17e82..1c88e5a18 100644
--- a/src/dns.h
+++ b/src/dns.h
@@ -36,7 +36,7 @@
#define DNS_D_MAXLABEL 63 /* + 1 '\0' */
#define DNS_D_MAXNAME 255 /* + 1 '\0' */
-#define MAX_ADDRS 1
+#define MAX_ADDRS 10
struct rspamd_dns_reply;
struct config_file;
@@ -240,6 +240,7 @@ enum dns_type {
DNS_T_TXT = 16,
DNS_T_AAAA = 28,
DNS_T_SRV = 33,
+ DNS_T_OPT = 41,
DNS_T_SSHFP = 44,
DNS_T_SPF = 99,