source: build-files/freebsd-update/patches/9.1-RELEASE/1-SA-13:01.bind @ 635dc54

9.2-releasereleng/10.0releng/10.0.1releng/10.0.2
Last change on this file since 635dc54 was 635dc54, checked in by Kris Moore <kris@…>, 13 months ago

Add our freebsd-update code to GIT

This will become a dumping ground for mods we may make to the freebsd-update
build process, as well as the specific patches we have going into a release

  • Property mode set to 100644
File size: 559 bytes
Line 
1Index: contrib/bind9/bin/named/query.c
2===================================================================
3--- contrib/bind9/bin/named/query.c
4+++ contrib/bind9/bin/named/query.c
5@@ -5183,10 +5183,12 @@
6        isc_result_t result;
7        isc_uint32_t ttl = ISC_UINT32_MAX;
8 
9+       dns_rdataset_init(&rdataset);
10+
11        result = dns_db_getoriginnode(db, &node);
12        if (result != ISC_R_SUCCESS)
13                goto cleanup;
14-       dns_rdataset_init(&rdataset);
15+
16        result = dns_db_findrdataset(db, node, version, dns_rdatatype_soa,
17                                     0, 0, &rdataset, NULL);
18        if (result != ISC_R_SUCCESS)
Note: See TracBrowser for help on using the repository browser.