]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
Works now for every situation
authorjessevz <jessevanzutphen7@hotmail.com>
Wed, 19 Jun 2024 14:02:38 +0000 (16:02 +0200)
committerjessevz <jessevanzutphen7@hotmail.com>
Wed, 19 Jun 2024 14:02:38 +0000 (16:02 +0200)
iterator/iterator.c

index caad78db251df7b6a5ec904cf51cff8a50d16a77..ec3b849e74dab2acb2543df3f6e885da3bfbfd9c 100644 (file)
@@ -3480,7 +3480,8 @@ processQueryResponse(struct module_qstate* qstate, struct iter_qstate* iq,
 
        /* see if referral brings us close to the target */
        if(type == RESPONSE_TYPE_REFERRAL){
-        // iq->deleg_state = 0;
+        //JESSE back to 0 state when normal refferal found to try deleg again for child
+        iq->deleg_state = 0;
                struct ub_packed_rrset_key* ns = find_NS(
                        iq->response->rep, iq->response->rep->an_numrrsets,
                        iq->response->rep->an_numrrsets