]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
pullup (inspected by halley):
authorAndreas Gustafsson <source@isc.org>
Tue, 1 May 2001 23:38:54 +0000 (23:38 +0000)
committerAndreas Gustafsson <source@isc.org>
Tue, 1 May 2001 23:38:54 +0000 (23:38 +0000)
when following A6 chains, glue was inadvertantly ignored

lib/dns/adb.c

index ac114c564a35a11f75c2f98053a18617fd16cbe4..f5f7b67861cf59132347609cb085b864109ae0d6 100644 (file)
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: adb.c,v 1.162.2.4 2001/04/10 00:20:57 gson Exp $ */
+/* $Id: adb.c,v 1.162.2.5 2001/05/01 23:38:54 gson Exp $ */
 
 /*
  * Implementation notes
@@ -1559,15 +1559,19 @@ a6find(void *arg, dns_name_t *a6name, dns_rdatatype_t type, isc_stdtime_t now,
 {
        dns_adbname_t *name;
        dns_adb_t *adb;
+       isc_result_t result;
 
        name = arg;
        INSIST(DNS_ADBNAME_VALID(name));
        adb = name->adb;
        INSIST(DNS_ADB_VALID(adb));
 
-       return (dns_view_simplefind(adb->view, a6name, type, now,
-                                   DNS_DBFIND_GLUEOK, ISC_FALSE,
-                                   rdataset, sigrdataset));
+       result = dns_view_simplefind(adb->view, a6name, type, now,
+                                    DNS_DBFIND_GLUEOK, ISC_FALSE,
+                                    rdataset, sigrdataset);
+       if (result == DNS_R_GLUE)
+               result = ISC_R_SUCCESS;
+       return (result);
 }
 
 /*