Removed CD bit flags from cache.

git-svn-id: file:///svn/unbound/trunk@347 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
Wouter Wijngaards
2007-05-30 05:39:04 +00:00
parent 3e7a53c5ca
commit 95d4dc2eb8
8 changed files with 12 additions and 28 deletions
+1 -4
View File
@@ -124,8 +124,6 @@ fwd_new(struct module_qstate* qstate, int id)
return 0;
memset(iq, 0, sizeof(*iq));
outbound_list_init(&iq->outlist);
if(qstate->qinfo.has_cd)
flags |= BIT_CD;
e = (*env->send_query)(qstate->qinfo.qname, qstate->qinfo.qname_len,
qstate->qinfo.qtype, qstate->qinfo.qclass, flags, dnssec,
&ie->fwd_addr, ie->fwd_addrlen, qstate);
@@ -403,8 +401,7 @@ processInitRequest(struct module_qstate* qstate, struct iter_qstate* iq,
msg = dns_cache_lookup(qstate->env, qstate->qinfo.qname,
qstate->qinfo.qname_len, qstate->qinfo.qtype,
qstate->qinfo.qclass, qstate->qinfo.has_cd,
qstate->region, qstate->scratch);
qstate->qinfo.qclass, qstate->region, qstate->scratch);
if(msg) {
/* handle positive cache response */
/*