diff --git a/lib/dns/forward.c b/lib/dns/forward.c index cd4959a76d..9fe4d262ae 100644 --- a/lib/dns/forward.c +++ b/lib/dns/forward.c @@ -161,10 +161,6 @@ dns_fwdtable_delete(dns_fwdtable_t *fwdtable, const dns_name_t *name) { result = dns_rbt_deletename(fwdtable->table, name, false); RWUNLOCK(&fwdtable->rwlock, isc_rwlocktype_write); - if (result == DNS_R_PARTIALMATCH) { - result = ISC_R_NOTFOUND; - } - return (result); } diff --git a/lib/dns/include/dns/forward.h b/lib/dns/include/dns/forward.h index b78d400f18..a821826704 100644 --- a/lib/dns/include/dns/forward.h +++ b/lib/dns/include/dns/forward.h @@ -86,6 +86,7 @@ dns_fwdtable_delete(dns_fwdtable_t *fwdtable, const dns_name_t *name); * Returns: * \li #ISC_R_SUCCESS * \li #ISC_R_NOTFOUND + * \li #ISC_R_NOSPACE */ isc_result_t