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
18 lines
559 B
Diff
18 lines
559 B
Diff
Index: contrib/bind9/bin/named/query.c
|
|
===================================================================
|
|
--- contrib/bind9/bin/named/query.c
|
|
+++ contrib/bind9/bin/named/query.c
|
|
@@ -5183,10 +5183,12 @@
|
|
isc_result_t result;
|
|
isc_uint32_t ttl = ISC_UINT32_MAX;
|
|
|
|
+ dns_rdataset_init(&rdataset);
|
|
+
|
|
result = dns_db_getoriginnode(db, &node);
|
|
if (result != ISC_R_SUCCESS)
|
|
goto cleanup;
|
|
- dns_rdataset_init(&rdataset);
|
|
+
|
|
result = dns_db_findrdataset(db, node, version, dns_rdatatype_soa,
|
|
0, 0, &rdataset, NULL);
|
|
if (result != ISC_R_SUCCESS)
|