aboutsummaryrefslogtreecommitdiffstats
path: root/src/dns.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2011-02-25 17:14:56 +0300
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2011-02-25 17:14:56 +0300
commit572462a0e27ae1880e1620b0f7427b3712e230df (patch)
tree072e4f1e31cdc9502dcec164921c0b0585cde269 /src/dns.h
parent6f122c26db02d065b16521c7498e8ad8f776f56e (diff)
downloadrspamd-572462a0e27ae1880e1620b0f7427b3712e230df.tar.gz
rspamd-572462a0e27ae1880e1620b0f7427b3712e230df.zip
Fix parsing of DNS records :(
Fix parsing several mx addrs in spf parser [1] Reported by: Victor Ustugov
Diffstat (limited to 'src/dns.h')
-rw-r--r--src/dns.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dns.h b/src/dns.h
index 57877748b..9896a6fa4 100644
--- a/src/dns.h
+++ b/src/dns.h
@@ -11,7 +11,7 @@
#define DNS_D_MAXLABEL 63 /* + 1 '\0' */
#define DNS_D_MAXNAME 255 /* + 1 '\0' */
-#define MAX_ADDRS 4
+#define MAX_ADDRS 1
struct rspamd_dns_reply;
struct config_file;