]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
cycle detection fix.
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Tue, 14 Aug 2007 19:42:36 +0000 (19:42 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Tue, 14 Aug 2007 19:42:36 +0000 (19:42 +0000)
git-svn-id: file:///svn/unbound/trunk@518 be551aaa-1e26-0410-a405-d3ace91eadb9

doc/Changelog
iterator/iter_utils.c

index 0e1278ade88e5bd4747053ac764d70f96b9a3648..d0604a39a41d5335875838839e27a07cd940192d 100644 (file)
@@ -10,6 +10,8 @@
        - print all received udp packets. log hex will print on multiple
          lines if needed.
        - fixed error in parser with backwards rrsig references.
+       - mark cycle targets for iterator did not have CD flag so failed
+         its task.
 
 13 August 2007: Wouter
        - fixup makefile, if lexer is missing give nice error and do not
index 22a46dea1dc5ba6978cf608e95768f218dd93cde..ed51d066083a27361616d79dd49f0f397251a7a6 100644 (file)
@@ -365,7 +365,7 @@ causes_cycle(struct module_qstate* qstate, uint8_t* name, size_t namelen,
        qinf.qname_len = namelen;
        qinf.qtype = t;
        qinf.qclass = c;
-       return (*qstate->env->detect_cycle)(qstate, &qinf, BIT_RD, 
+       return (*qstate->env->detect_cycle)(qstate, &qinf, BIT_RD|BIT_CD
                qstate->is_priming);
 }