mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-09-12 04:47:41 +02:00
Removed CD bit flags from cache.
git-svn-id: file:///svn/unbound/trunk@347 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
+1
-4
@@ -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 */
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user