aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorDoug Barton <dougb@FreeBSD.org>2010-12-08 19:33:18 +0000
committerDoug Barton <dougb@FreeBSD.org>2010-12-08 19:33:18 +0000
commit2b56ccf7fc71c6016d49509c1de6c06f3e632770 (patch)
treee6fce2d4180de8deda535ee26db4241c2126a483 /bin
parent0b3de9fd35baea98991ccb87ba9105c02d15a792 (diff)
downloadsrc-2b56ccf7fc71c6016d49509c1de6c06f3e632770.tar.gz
src-2b56ccf7fc71c6016d49509c1de6c06f3e632770.zip
Notes
Diffstat (limited to 'bin')
-rw-r--r--bin/named/query.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/bin/named/query.c b/bin/named/query.c
index 03f8c702be8c..5104558fdb8a 100644
--- a/bin/named/query.c
+++ b/bin/named/query.c
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: query.c,v 1.257.18.55 2010/07/03 23:45:26 tbox Exp $ */
+/* $Id: query.c,v 1.257.18.56 2010/11/17 10:21:01 marka Exp $ */
/*! \file */
@@ -1129,7 +1129,8 @@ query_addadditional(void *arg, dns_name_t *name, dns_rdatatype_t qtype) {
goto cleanup;
}
result = dns_db_find(db, name, version, type,
- client->query.dboptions | DNS_DBFIND_GLUEOK,
+ client->query.dboptions |
+ DNS_DBFIND_GLUEOK | DNS_DBFIND_ADDITIONALOK,
client->now, &node, fname, rdataset,
sigrdataset);
if (result == DNS_R_GLUE &&
@@ -1614,7 +1615,8 @@ query_addadditional2(void *arg, dns_name_t *name, dns_rdatatype_t qtype) {
goto try_glue;
result = dns_db_find(db, name, version, type,
- client->query.dboptions | DNS_DBFIND_GLUEOK,
+ client->query.dboptions |
+ DNS_DBFIND_GLUEOK | DNS_DBFIND_ADDITIONALOK,
client->now, &node, fname, NULL, NULL);
if (result == ISC_R_SUCCESS)
goto found;