2
0
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:
Mark Andrews
2007-04-24 06:55:32 +00:00
parent a404eb87dc
commit c1297b6025
2 changed files with 4 additions and 1 deletions

View File

@@ -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 ---

View File

@@ -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;
} }