mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-22 15:50:59 -05:00
- 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
This commit is contained in:
parent
079253670e
commit
62428e17f6
2 changed files with 7 additions and 1 deletions
|
|
@ -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
|
20 February 2019: Wouter
|
||||||
- Fix pythonmod include and sockaddr_un ifdefs for compile on
|
- Fix pythonmod include and sockaddr_un ifdefs for compile on
|
||||||
Windows, and for libunbound.
|
Windows, and for libunbound.
|
||||||
|
|
|
||||||
|
|
@ -113,7 +113,9 @@ modstack_config(struct module_stack* stack, const char* module_conf)
|
||||||
for(i=0; i<stack->num; i++) {
|
for(i=0; i<stack->num; i++) {
|
||||||
stack->mod[i] = module_factory(&module_conf);
|
stack->mod[i] = module_factory(&module_conf);
|
||||||
if(!stack->mod[i]) {
|
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);
|
module_conf);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue