From 73016bd7efa220775023c08226c0526939a7ee6a Mon Sep 17 00:00:00 2001 From: Bob Halley Date: Fri, 11 Feb 2000 02:17:56 +0000 Subject: [PATCH] In the case where an rdataset subtraction resulted in the nonexistence of the rrset, the subtraction code created a nonexistent rdataset entry with an incorrect type (the "covers" part of the type was not set). --- lib/dns/rbtdb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/dns/rbtdb.c b/lib/dns/rbtdb.c index 8da289a253..b4eef9a731 100644 --- a/lib/dns/rbtdb.c +++ b/lib/dns/rbtdb.c @@ -3455,7 +3455,7 @@ subtractrdataset(dns_db_t *db, dns_dbnode_t *node, dns_dbversion_t *version, goto unlock; } newheader->ttl = 0; - newheader->type = rdataset->type; + newheader->type = topheader->type; newheader->attributes = RDATASET_ATTR_NONEXISTENT; newheader->trust = 0; newheader->serial = rbtversion->serial;