2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 22:15:20 +00:00

Don't do post-load validation of zones if there are no zones.

This commit is contained in:
Brian Wellington
2000-04-04 20:19:13 +00:00
parent f4d3780cb6
commit 7d1d130f4f
2 changed files with 6 additions and 3 deletions

View File

@@ -1,4 +1,7 @@
20. [func] Configuration file post-load validation of zones
failed if there were no zones.
19. [bug] dns_zone_notifyreceive() failed to unlock the zone
lock in certain error cases.

View File

@@ -15,7 +15,7 @@
* SOFTWARE.
*/
/* $Id: confctx.c,v 1.41 2000/03/30 17:23:37 brister Exp $ */
/* $Id: confctx.c,v 1.42 2000/04/04 20:19:13 bwelling Exp $ */
#include <config.h>
@@ -363,8 +363,8 @@ dns_c_checkconfig(dns_c_ctx_t *cfg)
"rfc2308-type-1 is not yet implemented.");
}
rval = dns_c_zonelist_checkzones(cfg->zlist);
if (cfg->zlist != NULL)
rval = dns_c_zonelist_checkzones(cfg->zlist);
if (rval != ISC_R_SUCCESS) {
result = ISC_R_FAILURE;
}