mirror of
https://github.com/isc-projects/bind9.git
synced 2026-03-01 04:50:50 -05:00
1269. [bug] Missing masters clause was not handled gracefully.
[RT #2703]
This commit is contained in:
parent
b9858c2efc
commit
984c39beed
2 changed files with 12 additions and 8 deletions
3
CHANGES
3
CHANGES
|
|
@ -1,3 +1,6 @@
|
|||
1269. [bug] Missing masters clause was not handled gracefully.
|
||||
[RT #2703]
|
||||
|
||||
1268. [bug] DESTDIR was not being propogated between makes.
|
||||
|
||||
1247. [bug] Don't reset the interface index for link/site local
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: check.c,v 1.31 2002/03/14 00:43:00 bwelling Exp $ */
|
||||
/* $Id: check.c,v 1.32 2002/04/17 01:23:15 marka Exp $ */
|
||||
|
||||
#include <config.h>
|
||||
|
||||
|
|
@ -413,13 +413,14 @@ check_zoneconf(cfg_obj_t *zconfig, isc_symtab_t *symtab,
|
|||
"zone '%s': missing 'masters' entry",
|
||||
zname);
|
||||
result = ISC_R_FAILURE;
|
||||
}
|
||||
addrlist = cfg_tuple_get(obj, "addresses");
|
||||
if (cfg_list_first(addrlist) == NULL) {
|
||||
cfg_obj_log(zoptions, logctx, ISC_LOG_ERROR,
|
||||
"zone '%s': empty 'masters' entry",
|
||||
zname);
|
||||
result = ISC_R_FAILURE;
|
||||
} else {
|
||||
addrlist = cfg_tuple_get(obj, "addresses");
|
||||
if (cfg_list_first(addrlist) == NULL) {
|
||||
cfg_obj_log(zoptions, logctx, ISC_LOG_ERROR,
|
||||
"zone '%s': empty 'masters' entry",
|
||||
zname);
|
||||
result = ISC_R_FAILURE;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue