From da25a5b377c40640819071ff854548b29cf55574 Mon Sep 17 00:00:00 2001 From: Wouter Wijngaards Date: Tue, 17 Apr 2007 09:18:12 +0000 Subject: [PATCH] store hash value. git-svn-id: file:///svn/unbound/trunk@243 be551aaa-1e26-0410-a405-d3ace91eadb9 --- doc/Changelog | 1 + util/data/msgreply.c | 1 + 2 files changed, 2 insertions(+) diff --git a/doc/Changelog b/doc/Changelog index d68cf5bbc..a6231cf57 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -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 diff --git a/util/data/msgreply.c b/util/data/msgreply.c index a02dbd2e3..041ae7d6d 100644 --- a/util/data/msgreply.c +++ b/util/data/msgreply.c @@ -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; } -- 2.47.2