diff --git a/CHANGES b/CHANGES index fd9ed4ae2f..47ca261d63 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,6 @@ +2354. [bug] Failed to initialise sone rdatasetheader_t elements. + [RT #17927] + 2353. [func] Add support for Name Server ID (RFC 5001). 'dig +nsid' requests NSID from server. 'request-nsid yes;' causes recursive server to send diff --git a/lib/dns/rbtdb.c b/lib/dns/rbtdb.c index 9821bc4147..35d2241abe 100644 --- a/lib/dns/rbtdb.c +++ b/lib/dns/rbtdb.c @@ -15,7 +15,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: rbtdb.c,v 1.255 2008/04/02 02:37:42 marka Exp $ */ +/* $Id: rbtdb.c,v 1.256 2008/04/03 04:00:38 marka Exp $ */ /*! \file */ @@ -5782,6 +5782,9 @@ subtractrdataset(dns_db_t *db, dns_dbnode_t *node, dns_dbversion_t *version, newheader->count = 0; newheader->additional_auth = NULL; newheader->additional_glue = NULL; + newheader->node = rbtnode; + newheader->resign = 0; + newheader->last_used = 0; } else { free_rdataset(rbtdb, rbtdb->common.mctx, newheader); goto unlock;