index 6f5d518c5c3b5b0645ff5dd4e82141239d23eb68..e54ce7cd739de3face3c94ef2023a412146142e4 100644 (file)
--- a/src/plugins/cname/dns.c
+++ b/src/plugins/cname/dns.c
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#if HAVE_CONFIG_H
+# include "config.h"
+#endif /* HAVE_CONFIG_H */
+
#include "sysdb.h"
#include "core/plugin.h"
#include "utils/error.h"
int
sdb_module_init(sdb_plugin_info_t *info)
{
- sdb_plugin_set_info(info, SDB_PLUGIN_INFO_NAME, "cname::dns");
sdb_plugin_set_info(info, SDB_PLUGIN_INFO_DESC,
"canonicalize hostnames by querying DNS");
sdb_plugin_set_info(info, SDB_PLUGIN_INFO_COPYRIGHT,
sdb_plugin_set_info(info, SDB_PLUGIN_INFO_VERSION, SDB_VERSION);
sdb_plugin_set_info(info, SDB_PLUGIN_INFO_PLUGIN_VERSION, SDB_VERSION);
- sdb_plugin_register_cname("cname::dns", sdb_dns_cname, NULL);
+ sdb_plugin_register_cname("main", sdb_dns_cname, NULL);
return 0;
} /* sdb_module_init */