From: Wouter Wijngaards Date: Tue, 14 Aug 2007 19:42:36 +0000 (+0000) Subject: cycle detection fix. X-Git-Tag: release-0.5~123 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9db2d3fa78ecd5a9ca830a2edbe3a21fa50a90fe;p=thirdparty%2Funbound.git cycle detection fix. git-svn-id: file:///svn/unbound/trunk@518 be551aaa-1e26-0410-a405-d3ace91eadb9 --- diff --git a/doc/Changelog b/doc/Changelog index 0e1278ade..d0604a39a 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -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 diff --git a/iterator/iter_utils.c b/iterator/iter_utils.c index 22a46dea1..ed51d0660 100644 --- a/iterator/iter_utils.c +++ b/iterator/iter_utils.c @@ -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); }