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

(cherry picked from commit 27d6642e8b8403b459fb21784868f07c4e993235)

lib/dns/resolver.c

index 1d487aa00768c3b1403eeb00949073b90df82ee0..67194b6bd3a6d38539eaf908cc47a78f45ec6b49 100644 (file)
@@ -3617,7 +3617,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,