Skip to content

Commit

Permalink
- Fix the error for unknown module in module-config is understandable,
Browse files Browse the repository at this point in the history
  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
  • Loading branch information
wcawijngaards committed Feb 21, 2019
1 parent 0792536 commit 62428e1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions 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.
Expand Down
4 changes: 3 additions & 1 deletion services/modstack.c
Expand Up @@ -113,7 +113,9 @@ modstack_config(struct module_stack* stack, const char* module_conf)
for(i=0; i<stack->num; 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;
}
Expand Down

0 comments on commit 62428e1

Please sign in to comment.