From 9ba2cef72dacb1dc1105415956e1c311ac25d02c Mon Sep 17 00:00:00 2001 From: Evan Hunt Date: Fri, 7 Mar 2014 15:59:55 -0800 Subject: [PATCH] [master] clarify error 3779. [cleanup] Clarify the error message when using an option that was not enabled at compile time. [RT #35504] --- CHANGES | 3 +++ lib/isccfg/parser.c | 5 +++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGES b/CHANGES index f56478cc0c..eabccd045e 100644 --- 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] diff --git a/lib/isccfg/parser.c b/lib/isccfg/parser.c index 145205202e..3c4444d57e 100644 --- a/lib/isccfg/parser.c +++ b/lib/isccfg/parser.c @@ -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; }