]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
[v9_10] complete change #3925
authorEvan Hunt <each@isc.org>
Fri, 22 Aug 2014 21:58:17 +0000 (14:58 -0700)
committerEvan Hunt <each@isc.org>
Fri, 22 Aug 2014 21:58:17 +0000 (14:58 -0700)
- don't use fwdname in dns_view_findzonecut()

(cherry picked from commit 27d6642e8b8403b459fb21784868f07c4e993235)

lib/dns/resolver.c

index 46d30773f72ffdb123e5ebb81812a9743a11b7f6..ce8d05c3d3b472a8f7b8cfc7ff5744f1224425fc 100644 (file)
@@ -3869,7 +3869,7 @@ fctx_create(dns_resolver_t *res, dns_name_t *name, dns_rdatatype_t type,
                         */
                        if (dns_rdatatype_atparent(fctx->type))
                                findoptions |= DNS_DBFIND_NOEXACT;
-                       result = dns_view_findzonecut(res->view, fwdname,
+                       result = dns_view_findzonecut(res->view, name,
                                                      domain, 0, findoptions,
                                                      ISC_TRUE,
                                                      &fctx->nameservers,