Python checks fix.

git-svn-id: file:///svn/unbound/trunk@1568 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
Wouter Wijngaards 2009-03-30 12:32:54 +00:00
parent 64e3db1f04
commit f9aeb8904d
2 changed files with 3 additions and 1 deletions

View file

@ -3,6 +3,7 @@
- Fixup so no non-absolute rpaths are added.
- Fixup validation of RRSIG queries, they are let through.
- read /dev/random before chroot
- checkconf fix no python checks when no python module enabled.
27 March 2009: Wouter
- nicer -h output. report linked libraries and modules.

View file

@ -554,7 +554,8 @@ checkconf(const char* cfgfile, const char* opt)
check_mod(cfg, iter_get_funcblock());
check_mod(cfg, val_get_funcblock());
#ifdef WITH_PYTHONMODULE
check_mod(cfg, pythonmod_get_funcblock());
if(strstr(cfg->module_conf, "python"))
check_mod(cfg, pythonmod_get_funcblock());
#endif
check_fwd(cfg);
if(opt) print_option(cfg, opt);