mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-20 23:00:56 -05:00
store hash value.
git-svn-id: file:///svn/unbound/trunk@243 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
ae30307d6d
commit
da25a5b377
2 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue