2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-28 21:17:54 +00:00

1016. [bug] Slave zones with no backup file were re-transferred

on every server reload.
This commit is contained in:
Andreas Gustafsson 2001-09-25 23:01:15 +00:00
parent f2d88ed98c
commit ff4322d44f
2 changed files with 8 additions and 4 deletions

View File

@ -1,4 +1,7 @@
1016. [bug] Slave zones with no backup file were re-transferred
on every server reload.
1015. [bug] Log channels that had a "versions" option but no 1015. [bug] Log channels that had a "versions" option but no
"size" option failed to create numbered log "size" option failed to create numbered log
files. [RT #1783] files. [RT #1783]

View File

@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/ */
/* $Id: zoneconf.c,v 1.92 2001/09/08 00:21:36 gson Exp $ */ /* $Id: zoneconf.c,v 1.93 2001/09/25 23:01:15 gson Exp $ */
#include <config.h> #include <config.h>
@ -631,8 +631,9 @@ ns_zone_reusable(dns_zone_t *zone, cfg_obj_t *zconfig) {
else else
cfilename = NULL; cfilename = NULL;
zfilename = dns_zone_getfile(zone); zfilename = dns_zone_getfile(zone);
if (cfilename == NULL || zfilename == NULL || if (!((cfilename == NULL && zfilename == NULL) ||
strcmp(cfilename, zfilename) != 0) (cfilename != NULL && cfilename != NULL &&
strcmp(cfilename, zfilename) == 0)))
return (ISC_FALSE); return (ISC_FALSE);
return (ISC_TRUE); return (ISC_TRUE);