mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-28 21:17:54 +00:00
dns_db_deleterdataset() needed the same REQUIRE fix as dns_db_addrdataset()
This commit is contained in:
parent
73f4d29ef4
commit
a3e2ec2dfe
@ -394,8 +394,8 @@ dns_db_deleterdataset(dns_db_t *db, dns_dbnode_t *node,
|
||||
|
||||
REQUIRE(DNS_DB_VALID(db));
|
||||
REQUIRE(node != NULL);
|
||||
REQUIRE(((db->attributes & DNS_DBATTR_CACHE) == 0 && version != NULL)
|
||||
|| version == NULL);
|
||||
REQUIRE(((db->attributes & DNS_DBATTR_CACHE) == 0 && version != NULL)||
|
||||
((db->attributes & DNS_DBATTR_CACHE) != 0 && version == NULL));
|
||||
|
||||
return ((db->methods->deleterdataset)(db, node, version, type));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user