I'm very pleased to announce the release of our new website and documentation using the new toolchain with Hugo and AsciiDoctor. To get more information about the new toolchain please read the FreeBSD Documentation Project Primer[1], Hugo docs[2] and AsciiDoctor docs[3]. Acknowledgment: Benedict Reuschling <bcr@> Glen Barber <gjb@> Hiroki Sato <hrs@> Li-Wen Hsu <lwhsu@> Sean Chittenden <seanc@> The FreeBSD Foundation [1] https://docs.FreeBSD.org/en/books/fdp-primer/ [2] https://gohugo.io/documentation/ [3] https://docs.asciidoctor.org/home/ Approved by: doceng, core
23 lines
734 B
Diff
23 lines
734 B
Diff
Index: contrib/bind9/lib/dns/resolver.c
|
|
===================================================================
|
|
--- contrib/bind9/lib/dns/resolver.c (revision 238745)
|
|
+++ contrib/bind9/lib/dns/resolver.c (revision 238746)
|
|
@@ -8448,6 +8448,7 @@
|
|
goto cleanup;
|
|
bad->type = type;
|
|
bad->hashval = hashval;
|
|
+ bad->expire = *expire;
|
|
isc_buffer_init(&buffer, bad + 1, name->length);
|
|
dns_name_init(&bad->name, NULL);
|
|
dns_name_copy(name, &bad->name, &buffer);
|
|
@@ -8459,8 +8460,8 @@
|
|
if (resolver->badcount < resolver->badhash * 2 &&
|
|
resolver->badhash > DNS_BADCACHE_SIZE)
|
|
resizehash(resolver, &now, ISC_FALSE);
|
|
- }
|
|
- bad->expire = *expire;
|
|
+ } else
|
|
+ bad->expire = *expire;
|
|
cleanup:
|
|
UNLOCK(&resolver->lock);
|
|
}
|