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

lib/dns/resolver.c

index 5d0db9745e4c03d77a4846934fedbfc22e7301b5..df35fa1f08baff0246d16d612d27a9860c1e9b48 100644 (file)
@@ -3897,7 +3897,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,