git://git.exim.org
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Support TTL from SOA for NXDOMAIN & NODATA cache entries for dnslists. Bug 1395
[exim.git]
/
src
/
src
/
dns.c
diff --git
a/src/src/dns.c
b/src/src/dns.c
index a1d567b1f007b097264bbf261efdfa9c3aa5631a..ece6524d60d877a017e1de8978ca7403fa54a225 100644
(file)
--- a/
src/src/dns.c
+++ b/
src/src/dns.c
@@
-686,7
+686,7
@@
in the SOA. We hope that one was returned in the lookup, and do not
bother doing a separate lookup; if not found return a forever TTL.
*/
-
static
time_t
+time_t
dns_expire_from_soa(dns_answer * dnsa)
{
const HEADER * h = (const HEADER *)dnsa->answer;