Mercurial > dnsbl
comparison src/dnsbl.cpp @ 393:dffedbdc8566 stable-6-0-51-2
start parsing spf txt records
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Mon, 06 Mar 2017 18:39:09 -0800 |
parents | bcef093b1ba6 |
children | 9096d2676c13 |
comparison
equal
deleted
inserted
replaced
392:ea458101de9b | 393:dffedbdc8566 |
---|---|
2249 close(resolver_socket); | 2249 close(resolver_socket); |
2250 #ifdef NS_PACKETSZ | 2250 #ifdef NS_PACKETSZ |
2251 res_init(); | 2251 res_init(); |
2252 _res.retry = 2; | 2252 _res.retry = 2; |
2253 _res.retrans = RES_TIMEOUT; | 2253 _res.retrans = RES_TIMEOUT; |
2254 #ifdef RES_USE_EDNS0 | |
2254 _res.options |= RES_USE_EDNS0; | 2255 _res.options |= RES_USE_EDNS0; |
2256 #endif | |
2255 #endif | 2257 #endif |
2256 process_resolver_requests(s); | 2258 process_resolver_requests(s); |
2257 exit(0); | 2259 exit(0); |
2258 } | 2260 } |
2259 else { | 2261 else { |