2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 14:35:26 +00:00

INSIST that the rdataset is unassociated.

This commit is contained in:
Mark Andrews
2001-08-27 03:58:44 +00:00
parent 73ac1894ea
commit 440906ce59

View File

@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: rbtdb.c,v 1.167 2001/06/04 20:57:25 tale Exp $ */
/* $Id: rbtdb.c,v 1.168 2001/08/27 03:58:44 marka Exp $ */
/*
* Principal Author: Bob Halley
@@ -1290,6 +1290,8 @@ bind_rdataset(dns_rbtdb_t *rbtdb, dns_rbtnode_t *node,
new_reference(rbtdb, node);
INSIST(rdataset->methods == NULL); /* We must be disassociated. */
rdataset->methods = &rdataset_methods;
rdataset->rdclass = rbtdb->common.rdclass;
rdataset->type = RBTDB_RDATATYPE_BASE(header->type);