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

(cherry picked from commit 27d6642e8b8403b459fb21784868f07c4e993235)

lib/dns/resolver.c

index 1ade9cd234d5f63a09634fd04d1b4d0c983b1e52..ee9db11fb70ba5493f4cc9338eafb5b95ff8b8fb 100644 (file)
@@ -3623,7 +3623,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,