|
@@ -304,7 +304,7 @@ static int mod_init(void)
|
|
|
|
|
|
#ifdef STATISTICS
|
|
#ifdef STATISTICS
|
|
/* register statistics */
|
|
/* register statistics */
|
|
- if(register_module_stats(exports.name, mod_stats) != 0) {
|
|
|
|
|
|
+ if(register_module_stats("registrar", mod_stats) != 0) {
|
|
LM_ERR("Failed to register core statistics\n");
|
|
LM_ERR("Failed to register core statistics\n");
|
|
return -1;
|
|
return -1;
|
|
}
|
|
}
|