mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 06:25:31 +00:00
3908. [bug] rndc now differentiates between a zone in multiple
views and a zone that doesn't exist at all. [RT #36691]
This commit is contained in:
@@ -1441,7 +1441,7 @@ dns_viewlist_findzone(dns_viewlist_t *list, dns_name_t *name,
|
||||
if (zone2 != NULL) {
|
||||
dns_zone_detach(&zone1);
|
||||
dns_zone_detach(&zone2);
|
||||
return (ISC_R_NOTFOUND);
|
||||
return (ISC_R_MULTIPLE);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user