cycle detection fix.

git-svn-id: file:///svn/unbound/trunk@518 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
Wouter Wijngaards 2007-08-14 19:42:36 +00:00
parent 8a290f6a16
commit 9db2d3fa78
2 changed files with 3 additions and 1 deletions

View 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

View 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);
}