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
+1 -1
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);
}