]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
warn that rrset-order 'fixed' is not implemented.
authorMark Andrews <marka@isc.org>
Sun, 10 Mar 2002 23:40:31 +0000 (23:40 +0000)
committerMark Andrews <marka@isc.org>
Sun, 10 Mar 2002 23:40:31 +0000 (23:40 +0000)
lib/bind9/check.c

index 85cbb01b3949cbf81496e110fe0096e30c217edb..91665cd8b22e380d791ea9189169cb54995eb374 100644 (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,