mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-01 06:55:30 +00:00
2167. [bug] When re-using a automatic zone named failed to
attach it to the new view. [RT #16786]
This commit is contained in:
2
CHANGES
2
CHANGES
@@ -1,3 +1,5 @@
|
|||||||
|
2167. [bug] When re-using a automatic zone named failed to
|
||||||
|
attach it to the new view. [RT #16786]
|
||||||
|
|
||||||
--- 9.5.0a3 released ---
|
--- 9.5.0a3 released ---
|
||||||
|
|
||||||
|
@@ -15,7 +15,7 @@
|
|||||||
* PERFORMANCE OF THIS SOFTWARE.
|
* PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: server.c,v 1.482 2007/04/02 23:46:47 marka Exp $ */
|
/* $Id: server.c,v 1.483 2007/04/24 06:55:32 marka Exp $ */
|
||||||
|
|
||||||
/*! \file */
|
/*! \file */
|
||||||
|
|
||||||
@@ -1870,6 +1870,7 @@ configure_view(dns_view_t *view, const cfg_obj_t *config,
|
|||||||
empty_dbtype, mctx);
|
empty_dbtype, mctx);
|
||||||
if (zone != NULL) {
|
if (zone != NULL) {
|
||||||
dns_zone_setview(zone, view);
|
dns_zone_setview(zone, view);
|
||||||
|
CHECK(dns_view_addzone(view, zone));
|
||||||
dns_zone_detach(&zone);
|
dns_zone_detach(&zone);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user