From: Wouter Wijngaards Date: Thu, 21 Feb 2019 09:40:25 +0000 (+0000) Subject: - Fix the error for unknown module in module-config is understandable, X-Git-Tag: release-1.9.1rc1~11 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=62428e17f631e69120cd5a4c974208fb822cd069;p=thirdparty%2Funbound.git - Fix the error for unknown module in module-config is understandable, and explains it was not compiled in and where to see the list. git-svn-id: file:///svn/unbound/trunk@5119 be551aaa-1e26-0410-a405-d3ace91eadb9 --- diff --git a/doc/Changelog b/doc/Changelog index 9fb1edd6b..258d3fd10 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -1,3 +1,7 @@ +21 February 2019: Wouter + - Fix the error for unknown module in module-config is understandable, + and explains it was not compiled in and where to see the list. + 20 February 2019: Wouter - Fix pythonmod include and sockaddr_un ifdefs for compile on Windows, and for libunbound. diff --git a/services/modstack.c b/services/modstack.c index 136245a96..c6e5fd01e 100644 --- a/services/modstack.c +++ b/services/modstack.c @@ -113,7 +113,9 @@ modstack_config(struct module_stack* stack, const char* module_conf) for(i=0; inum; i++) { stack->mod[i] = module_factory(&module_conf); if(!stack->mod[i]) { - log_err("Unknown value for next module: '%s'", + log_err("Unknown value in module-config, module: '%s'." + " This module is not present (not compiled in)," + " See the list of linked modules with unbound -h", module_conf); return 0; }