mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 14:07:59 +00:00
Don't return DNS_R_UNCHANGED from load callback
This commit is contained in:
@@ -2706,6 +2706,8 @@ add_rdataset_callback(dns_rdatacallbacks_t *callbacks, dns_name_t *name,
|
|||||||
if (result == DNS_R_SUCCESS &&
|
if (result == DNS_R_SUCCESS &&
|
||||||
delegating_type(rbtdb, node, rdataset->type))
|
delegating_type(rbtdb, node, rdataset->type))
|
||||||
node->find_callback = 1;
|
node->find_callback = 1;
|
||||||
|
else if (result == DNS_R_UNCHANGED)
|
||||||
|
result = DNS_R_SUCCESS;
|
||||||
|
|
||||||
return (result);
|
return (result);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user