print information on the config backend used

This commit is contained in:
Nikos Mavrogiannopoulos
2015-05-19 18:04:30 +02:00
parent f4a55660de
commit 27b1541c31

View File

@@ -34,9 +34,11 @@
void sup_config_init(sec_mod_st *sec)
{
if (sec->perm_config->sup_config_type == SUP_CONFIG_FILE) {
seclog(sec, LOG_INFO, "reading supplemental config from files");
sec->config_module = &file_sup_config;
#ifdef HAVE_RADIUS
} else if (sec->perm_config->sup_config_type == SUP_CONFIG_RADIUS) {
seclog(sec, LOG_INFO, "reading supplemental config from radius");
sec->config_module = &radius_sup_config;
#endif
}