mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-02-03 04:09:28 -05:00
- Sync unbound and unbound-checkconf log output for unknown modules.
This commit is contained in:
parent
b50faccb1d
commit
5dd14e2644
3 changed files with 9 additions and 4 deletions
|
|
@ -1,3 +1,6 @@
|
|||
5 May 2025: Yorgos
|
||||
- Sync unbound and unbound-checkconf log output for unknown modules.
|
||||
|
||||
29 April 2025: Wouter
|
||||
- Fix for parallel build of dnstap protoc-c output.
|
||||
- Fix dnstap to use protoc.
|
||||
|
|
|
|||
|
|
@ -138,8 +138,8 @@ modstack_config(struct module_stack* stack, const char* module_conf)
|
|||
if(strchr(s, ' ')) *(strchr(s, ' ')) = 0;
|
||||
if(strchr(s, '\t')) *(strchr(s, '\t')) = 0;
|
||||
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 -V", s);
|
||||
" This module is not present (not compiled in);"
|
||||
" see the list of linked modules with unbound -V", s);
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -636,8 +636,10 @@ check_modules_exist(const char* module_conf)
|
|||
}
|
||||
n[j] = s[j];
|
||||
}
|
||||
fatal_exit("module_conf lists module '%s' but that "
|
||||
"module is not available.", n);
|
||||
fatal_exit("Unknown value in module-config, module: "
|
||||
"'%s'. This module is not present (not "
|
||||
"compiled in); see the list of linked modules "
|
||||
"with unbound -V", n);
|
||||
}
|
||||
s += strlen(names[i]);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue