mirror of
https://github.com/isc-projects/bind9.git
synced 2026-04-29 18:09:11 -04:00
1119. [bug] Errors in options were not fatal. [RT #2002]
This commit is contained in:
parent
0316cd0c04
commit
aa51fc8106
1 changed files with 4 additions and 3 deletions
|
|
@ -15,7 +15,7 @@
|
|||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: check.c,v 1.7 2001/11/09 03:34:53 marka Exp $ */
|
||||
/* $Id: check.c,v 1.8 2001/11/13 06:34:59 marka Exp $ */
|
||||
|
||||
#include <config.h>
|
||||
|
||||
|
|
@ -486,8 +486,9 @@ bind9_check_namedconf(cfg_obj_t *config, isc_log_t *logctx, isc_mem_t *mctx) {
|
|||
|
||||
(void)cfg_map_get(config, "options", &options);
|
||||
|
||||
if (options != NULL)
|
||||
check_options(options, logctx);
|
||||
if (options != NULL &&
|
||||
check_options(options, logctx) != ISC_R_SUCCESS)
|
||||
result = ISC_R_FAILURE;
|
||||
|
||||
(void)cfg_map_get(config, "view", &views);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue