Commit 75f83968 authored by Brian Wellington's avatar Brian Wellington
Browse files

Pass covers field to dns_db_deleterdataset

parent 6cac2e0f
......@@ -661,7 +661,7 @@ active_node(dns_db_t *db, dns_dbversion_t *version, dns_dbnode_t *node) {
* Make sure there is no NXT record for this node.
*/
result = dns_db_deleterdataset(db, node, version,
dns_rdatatype_nxt);
dns_rdatatype_nxt, 0);
if (result == DNS_R_UNCHANGED)
result = ISC_R_SUCCESS;
check_result(result, "dns_db_deleterdataset");
......
......@@ -791,7 +791,7 @@ t_dns_db_currentversion(char **av) {
}
/* delete the found rdataset in the new version */
dns_result = dns_db_deleterdataset(db, nodep, nversionp, rdatatype);
dns_result = dns_db_deleterdataset(db, nodep, nversionp, rdatatype, 0);
if (dns_result != DNS_R_SUCCESS) {
t_info("dns_db_deleterdataset failed %s\n",
dns_result_totext(dns_result));
......@@ -1286,7 +1286,7 @@ t_dns_db_closeversion_1(char **av) {
return(T_UNRESOLVED);
}
dns_result = dns_db_deleterdataset(db, nodep, nversionp, existing_rdatatype);
dns_result = dns_db_deleterdataset(db, nodep, nversionp, existing_rdatatype, 0);
if (dns_result != DNS_R_SUCCESS) {
t_info("dns_db_deleterdataset failed %s\n",
dns_result_totext(dns_result));
......@@ -1644,7 +1644,7 @@ t_dns_db_closeversion_2(char **av) {
return(T_UNRESOLVED);
}
dns_result = dns_db_deleterdataset(db, nodep, nversionp, existing_rdatatype);
dns_result = dns_db_deleterdataset(db, nodep, nversionp, existing_rdatatype, 0);
if (dns_result != DNS_R_SUCCESS) {
t_info("dns_db_deleterdataset failed %s\n",
dns_result_totext(dns_result));
......
......@@ -863,7 +863,8 @@ main(int argc, char *argv[]) {
dns_db_printnode(db, node, stdout);
} else if (dbi != NULL && delmode && !found_as) {
result = dns_db_deleterdataset(db, node,
version, type);
version, type,
0);
if (result != DNS_R_SUCCESS)
print_result("", result);
if (printnode)
......
......@@ -661,7 +661,7 @@ active_node(dns_db_t *db, dns_dbversion_t *version, dns_dbnode_t *node) {
* Make sure there is no NXT record for this node.
*/
result = dns_db_deleterdataset(db, node, version,
dns_rdatatype_nxt);
dns_rdatatype_nxt, 0);
if (result == DNS_R_UNCHANGED)
result = ISC_R_SUCCESS;
check_result(result, "dns_db_deleterdataset");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment