The param was not exported to the stats framework.
... | ... |
@@ -50,7 +50,7 @@ void *registrar_cfg = &default_registrar_cfg; |
50 | 50 |
cfg_def_t registrar_cfg_def[] = { |
51 | 51 |
{"default_expires", CFG_VAR_INT | CFG_CB_ONLY_ONCE, 0, 0, 0, default_expires_stats_update, |
52 | 52 |
"Contains number of second to expire if no expire hf or contact expire present" }, |
53 |
- {"min_expires", CFG_VAR_INT | CFG_CB_ONLY_ONCE, 0, 0, 0, min_expires_stats_update, |
|
53 |
+ {"min_expires", CFG_VAR_INT | CFG_CB_ONLY_ONCE, 0, 0, 0, 0, |
|
54 | 54 |
"The minimum expires value of a Contact. Value 0 disables the checking. "}, |
55 | 55 |
{"max_expires", CFG_VAR_INT | CFG_CB_ONLY_ONCE, 0, 0, 0, max_expires_stats_update, |
56 | 56 |
"The maximum expires value of a Contact. Value 0 disables the checking. "}, |
... | ... |
@@ -532,10 +532,6 @@ void default_expires_stats_update(str* gname, str* name){ |
532 | 532 |
update_stat(default_expire_stat, cfg_get(registrar, registrar_cfg, default_expires)); |
533 | 533 |
} |
534 | 534 |
|
535 |
-void min_expires_stats_update(str* gname, str* name){ |
|
536 |
- update_stat(min_expires_stat, cfg_get(registrar, registrar_cfg, min_expires)); |
|
537 |
-} |
|
538 |
- |
|
539 | 535 |
void max_expires_stats_update(str* gname, str* name){ |
540 | 536 |
update_stat(max_expires_stat, cfg_get(registrar, registrar_cfg, max_expires)); |
541 | 537 |
} |
... | ... |
@@ -96,7 +96,6 @@ extern struct sl_binds slb; |
96 | 96 |
extern stat_var *accepted_registrations; |
97 | 97 |
extern stat_var *rejected_registrations; |
98 | 98 |
extern stat_var *default_expire_stat; |
99 |
-extern stat_var *min_expires_stat; |
|
100 | 99 |
extern stat_var *max_expires_stat; |
101 | 100 |
|
102 | 101 |
#endif /* REG_MOD_H */ |