From: Mark Andrews Date: Sun, 10 Mar 2002 23:40:31 +0000 (+0000) Subject: warn that rrset-order 'fixed' is not implemented. X-Git-Tag: v9.0.1^2~8455 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=9de92818aec6cdad885da57c50fc2148f3467d4d;p=thirdparty%2Fbind9.git warn that rrset-order 'fixed' is not implemented. --- diff --git a/lib/bind9/check.c b/lib/bind9/check.c index 85cbb01b394..91665cd8b22 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,