2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-09-05 09:05:40 +00:00

Move configuration checking to libbind9.

This commit is contained in:
Mark Andrews
2001-09-20 15:17:07 +00:00
parent ae5df22719
commit c2bc56dc65
44 changed files with 350 additions and 100 deletions

View File

@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: server.c,v 1.343 2001/09/15 14:23:23 marka Exp $ */
/* $Id: server.c,v 1.344 2001/09/20 15:16:24 marka Exp $ */
#include <config.h>
@@ -36,7 +36,8 @@
#include <isc/util.h>
#include <isccfg/cfg.h>
#include <isccfg/check.h>
#include <bind9/check.h>
#include <dns/cache.h>
#include <dns/db.h>
@@ -1675,7 +1676,7 @@ load_configuration(const char *filename, ns_server_t *server,
/*
* Check the validity of the configuration.
*/
CHECK(cfg_check_namedconf(config, ns_g_lctx, ns_g_mctx));
CHECK(bind9_check_namedconf(config, ns_g_lctx, ns_g_mctx));
/*
* Fill in the maps array, used for resolving defaults.