diff --git a/src/mod/loggers/mod_syslog/mod_syslog.c b/src/mod/loggers/mod_syslog/mod_syslog.c index d70d27b493..0f3f4c5b65 100644 --- a/src/mod/loggers/mod_syslog/mod_syslog.c +++ b/src/mod/loggers/mod_syslog/mod_syslog.c @@ -154,7 +154,7 @@ static switch_status_t load_config(void) SWITCH_MODULE_LOAD_FUNCTION(mod_syslog_load) { switch_status_t status; - *interface = &console_module_interface; + *module_interface = &console_module_interface; if ((status = load_config()) != SWITCH_STATUS_SUCCESS) { return status;