]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- Fix the error for unknown module in module-config is understandable,
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Thu, 21 Feb 2019 09:40:25 +0000 (09:40 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Thu, 21 Feb 2019 09:40:25 +0000 (09:40 +0000)
  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

doc/Changelog
services/modstack.c

index 9fb1edd6b853dbf66d4f5c586b4dfc7bbe30c1ba..258d3fd10231ca5a927653e186749b8da4072940 100644 (file)
@@ -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.
index 136245a96838610dce9537ec2c5064b590ee1161..c6e5fd01e1604b6ada2f19c3cdd845cc915579b1 100644 (file)
@@ -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;
                 }