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).
This commit is contained in:
Bob Halley 2000-02-11 02:17:56 +00:00
parent 535f453de3
commit 73016bd7ef

View file

@ -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;