]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
store hash value.
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Tue, 17 Apr 2007 09:18:12 +0000 (09:18 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Tue, 17 Apr 2007 09:18:12 +0000 (09:18 +0000)
git-svn-id: file:///svn/unbound/trunk@243 be551aaa-1e26-0410-a405-d3ace91eadb9

doc/Changelog
util/data/msgreply.c

index d68cf5bbce415cfa2a03b3aae26b95ae603ee8b4..a6231cf57ea1ee6a6105fa4b49a296e1c3fafb54 100644 (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
index a02dbd2e3dc7f67f855bfb687f33374766941c1f..041ae7d6df7eb78100ae8dc0621a3cced200d7ea 100644 (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;
        }