warn that rrset-order 'fixed' is not implemented.

This commit is contained in:
Mark Andrews
2002-03-10 23:40:31 +00:00
parent b1c6a6c514
commit 9de92818ae

View File

@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: check.c,v 1.29 2002/03/08 00:54:48 marka Exp $ */
/* $Id: check.c,v 1.30 2002/03/10 23:40:31 marka Exp $ */
#include <config.h>
@@ -108,7 +108,11 @@ check_orderent(cfg_obj_t *ent, isc_log_t *logctx) {
cfg_obj_log(ent, logctx, ISC_LOG_ERROR,
"rrset-order: missing ordering");
result = ISC_R_FAILURE;
} else if (strcasecmp(cfg_obj_asstring(obj), "fixed") != 0 &&
} else if (strcasecmp(cfg_obj_asstring(obj), "fixed") == 0) {
cfg_obj_log(obj, logctx, ISC_LOG_WARNING,
"rrset-order: order 'fixed' not implemented",
cfg_obj_asstring(obj));
} else if (/* strcasecmp(cfg_obj_asstring(obj), "fixed") != 0 && */
strcasecmp(cfg_obj_asstring(obj), "random") != 0 &&
strcasecmp(cfg_obj_asstring(obj), "cyclic") != 0) {
cfg_obj_log(obj, logctx, ISC_LOG_ERROR,