From: Mark Andrews Date: Tue, 24 Apr 2007 06:55:32 +0000 (+0000) Subject: 2167. [bug] When re-using a automatic zone named failed to X-Git-Tag: v9.5.0a4~14 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=c1297b6025bf8ccdc832b7bca705da1d4cf2944e;p=thirdparty%2Fbind9.git 2167. [bug] When re-using a automatic zone named failed to attach it to the new view. [RT #16786] --- diff --git a/CHANGES b/CHANGES index 7619ca1c1b4..251d00791ed 100644 --- a/CHANGES +++ b/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 --- diff --git a/bin/named/server.c b/bin/named/server.c index 931d0ab76dd..22a8d465ff4 100644 --- a/bin/named/server.c +++ b/bin/named/server.c @@ -15,7 +15,7 @@ * 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 */ @@ -1870,6 +1870,7 @@ configure_view(dns_view_t *view, const cfg_obj_t *config, empty_dbtype, mctx); if (zone != NULL) { dns_zone_setview(zone, view); + CHECK(dns_view_addzone(view, zone)); dns_zone_detach(&zone); continue; }