Skip to content

Commit

Permalink
sipcapture: use literal module name for stats group
Browse files Browse the repository at this point in the history
- prevent conflicts with global exports
  • Loading branch information
miconda committed Nov 23, 2023
1 parent 0516fb8 commit 01abed3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/sipcapture/sipcapture.c
Expand Up @@ -930,7 +930,7 @@ static int mod_init(void)
sipcapture_stats = stats;

/* register statistics */
if(register_module_stats(exports.name, sipcapture_stats) != 0) {
if(register_module_stats("sipcapture", sipcapture_stats) != 0) {
LM_ERR("failed to register core statistics\n");
return -1;
}
Expand Down

0 comments on commit 01abed3

Please sign in to comment.