store hash value.

git-svn-id: file:///svn/unbound/trunk@243 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
Wouter Wijngaards 2007-04-17 09:18:12 +00:00
parent ae30307d6d
commit da25a5b377
2 changed files with 2 additions and 0 deletions

View file

@ -1,5 +1,6 @@
17 April 2007: Wouter
- copy and decompress dnames.
- store calculated hash value too.
16 April 2007: Wouter
- following a small change in LDNS, parsing code calculates the

View file

@ -857,6 +857,7 @@ parse_copy_decompress(ldns_buffer* pkt, struct msg_parse* msg,
if((ret=parse_create_rrset(pkt, pset, &data)) != 0)
return ret;
rep->rrsets[i]->entry.data = (void*)data;
rep->rrsets[i]->entry.hash = pset->hash;
pset = pset->rrset_all_next;
}