do not utilize radius symbols if radius is disabled

Reported by Ismail Donmez
This commit is contained in:
Nikos Mavrogiannopoulos
2014-12-11 05:37:14 +01:00
parent 209937e7b1
commit 6989b6a0c4

View File

@@ -35,8 +35,10 @@ void sup_config_init(sec_mod_st *sec)
{
if (sec->config->sup_config_type == SUP_CONFIG_FILE) {
sec->config_module = &file_sup_config;
#ifdef HAVE_RADIUS
} else if (sec->config->sup_config_type == SUP_CONFIG_RADIUS) {
sec->config_module = &radius_sup_config;
#endif
}
}