mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-01 23:25:38 +00:00
Don't do post-load validation of zones if there are no zones.
This commit is contained in:
3
CHANGES
3
CHANGES
@@ -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
|
19. [bug] dns_zone_notifyreceive() failed to unlock the zone
|
||||||
lock in certain error cases.
|
lock in certain error cases.
|
||||||
|
|
||||||
|
@@ -15,7 +15,7 @@
|
|||||||
* SOFTWARE.
|
* 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>
|
#include <config.h>
|
||||||
|
|
||||||
@@ -363,8 +363,8 @@ dns_c_checkconfig(dns_c_ctx_t *cfg)
|
|||||||
"rfc2308-type-1 is not yet implemented.");
|
"rfc2308-type-1 is not yet implemented.");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (cfg->zlist != NULL)
|
||||||
rval = dns_c_zonelist_checkzones(cfg->zlist);
|
rval = dns_c_zonelist_checkzones(cfg->zlist);
|
||||||
if (rval != ISC_R_SUCCESS) {
|
if (rval != ISC_R_SUCCESS) {
|
||||||
result = ISC_R_FAILURE;
|
result = ISC_R_FAILURE;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user