diff src/dnsbl.cpp @ 428:6f2db3d19a34 stable-6-0-61

allow 4000 byte spf txt records
author Carl Byington <carl@five-ten-sg.com>
date Mon, 02 Oct 2017 15:09:55 -0700
parents 1b7a785610f5
children 69d33c034a8e
line wrap: on
line diff
--- a/src/dnsbl.cpp	Fri Aug 18 09:59:22 2017 -0700
+++ b/src/dnsbl.cpp	Mon Oct 02 15:09:55 2017 -0700
@@ -151,7 +151,7 @@
 struct glommer {
     size_t  length;
     #ifdef NS_PACKETSZ
-        u_char answer[NS_PACKETSZ*8];   // with a resolver, we return resolver answers
+        u_char answer[maxdnslength];    // with a resolver, we return resolver answers
     #else
         uint32_t answer;                // without a resolver, we return a single ipv4 address in network byte order, 0 == no answer
     #endif