Mercurial > dnsbl
diff src/context.h @ 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 | c9b7b6dd1206 |
children | 7b072e16bd69 |
line wrap: on
line diff
--- a/src/context.h Fri Aug 18 09:59:22 2017 -0700 +++ b/src/context.h Mon Oct 02 15:09:55 2017 -0700 @@ -9,6 +9,12 @@ #ifndef context_include #define context_include +#ifdef NS_PACKETSZ + #define maxdnslength (NS_PACKETSZ*8) +#else + #define maxdnslength 1000 +#endif + enum status {oksofar, // not rejected yet white, // whitelisted black, // blacklisted