]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
[master] clarify error
authorEvan Hunt <each@isc.org>
Fri, 7 Mar 2014 23:59:55 +0000 (15:59 -0800)
committerEvan Hunt <each@isc.org>
Fri, 7 Mar 2014 23:59:55 +0000 (15:59 -0800)
3779. [cleanup] Clarify the error message when using an option
that was not enabled at compile time. [RT #35504]

CHANGES
lib/isccfg/parser.c

diff --git a/CHANGES b/CHANGES
index f56478cc0c82c188c68a08ec6cce155a44b22033..eabccd045e6ffcb5de3b7a95bd76352a7440d4fb 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,6 @@
+3779.  [cleanup]       Clarify the error message when using an option
+                       that was not enabled at compile time. [RT #35504]
+
 3778.  [bug]           Log a warning when the wrong address family is
                        used in "listen-on" or "listen-on-v6". [RT #17848]
 
index 145205202efc6770aeeabe385c4f31a3d94906d6..3c4444d57ea7a02d4e77cacc1856c1163afeb9af 100644 (file)
@@ -1306,8 +1306,9 @@ cfg_parse_mapbody(cfg_parser_t *pctx, const cfg_type_t *type, cfg_obj_t **ret)
                                       "not implemented", clause->name);
 
                if ((clause->flags & CFG_CLAUSEFLAG_NOTCONFIGURED) != 0) {
-                       cfg_parser_warning(pctx, 0, "option '%s' is not "
-                                          "configured", clause->name);
+                       cfg_parser_warning(pctx, 0, "option '%s' was not "
+                                          "enabled at compile time",
+                                          clause->name);
                        result = ISC_R_FAILURE;
                        goto cleanup;
                }