From 9de92818aec6cdad885da57c50fc2148f3467d4d Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Sun, 10 Mar 2002 23:40:31 +0000 Subject: [PATCH] warn that rrset-order 'fixed' is not implemented. --- lib/bind9/check.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/lib/bind9/check.c b/lib/bind9/check.c index 85cbb01b39..91665cd8b2 100644 --- a/lib/bind9/check.c +++ b/lib/bind9/check.c @@ -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 @@ -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,