2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-29 05:28:00 +00:00

914. [bug] Gobal 'server' statements were rejected when

using views, even though they were accepted
                        in 9.1. [RT #1368]
This commit is contained in:
Andreas Gustafsson 2001-06-28 21:58:54 +00:00
parent 389677e152
commit 7d8c3693d0
2 changed files with 6 additions and 10 deletions

View File

@ -1,3 +1,8 @@
914. [bug] Gobal 'server' statements were rejected when
using views, even though they were accepted
in 9.1. [RT #1368]
913. [bug] More max-cache-size tuning.
912. [bug] Attempts to set the 'additional-from-cache' or

View File

@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: check.c,v 1.11 2001/06/04 21:51:27 bwelling Exp $ */
/* $Id: check.c,v 1.12 2001/06/28 21:58:54 gson Exp $ */
#include <config.h>
@ -413,7 +413,6 @@ cfg_check_namedconf(cfg_obj_t *config, isc_log_t *logctx, isc_mem_t *mctx) {
result = ISC_R_FAILURE;
} else {
cfg_obj_t *zones = NULL;
cfg_obj_t *peers = NULL;
(void)cfg_map_get(config, "zone", &zones);
if (zones != NULL) {
@ -422,14 +421,6 @@ cfg_check_namedconf(cfg_obj_t *config, isc_log_t *logctx, isc_mem_t *mctx) {
"all zones must be in views");
result = ISC_R_FAILURE;
}
(void)cfg_map_get(config, "server", &peers);
if (peers != NULL) {
cfg_obj_log(peers, logctx, ISC_LOG_ERROR,
"when using 'view' statements, "
"all server statements must be in views");
result = ISC_R_FAILURE;
}
}
for (velement = cfg_list_first(views);