+3 July 2017: Wouter
+ - Fix for unbound-checkconf, check ipsecmod-hook if ipsecmod is turned
+ on.
+
29 June 2017: Wouter
- Fix python example0 return module wait instead of error for pass.
- iana portlist update
check_chroot_string("dlv-anchor-file", &cfg->dlv_anchor_file,
cfg->chrootdir, cfg);
#ifdef USE_IPSECMOD
- check_chroot_string("ipsecmod-hook", &cfg->ipsecmod_hook, cfg->chrootdir,
- cfg);
+ if(cfg->ipsecmod_enabled && strstr(cfg->module_conf, "ipsecmod")) {
+ /* only check hook if enabled */
+ check_chroot_string("ipsecmod-hook", &cfg->ipsecmod_hook,
+ cfg->chrootdir, cfg);
+ }
#endif
/* remove chroot setting so that modules are not stripping pathnames*/
free(cfg->chrootdir);