comparison 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
comparison
equal deleted inserted replaced
427:9911e362b5dc 428:6f2db3d19a34
6 6
7 */ 7 */
8 8
9 #ifndef context_include 9 #ifndef context_include
10 #define context_include 10 #define context_include
11
12 #ifdef NS_PACKETSZ
13 #define maxdnslength (NS_PACKETSZ*8)
14 #else
15 #define maxdnslength 1000
16 #endif
11 17
12 enum status {oksofar, // not rejected yet 18 enum status {oksofar, // not rejected yet
13 white, // whitelisted 19 white, // whitelisted
14 black, // blacklisted 20 black, // blacklisted
15 reject}; // rejected by a dns list 21 reject}; // rejected by a dns list