call rate_ctr_init() to make rate counters work properly

The existing rate counters per-minute/hour/day values were never
computed as the related timer was never started...

Change-Id: I27282051a6da5d1e1a25981712fbe4c4a6378dea
This commit is contained in:
Harald Welte 2022-05-13 19:16:57 +02:00
parent 5d53c6001d
commit 2db1966e25
1 changed files with 1 additions and 0 deletions

View File

@ -576,6 +576,7 @@ int main(int argc, char **argv)
osmo_fsm_log_addr(true);
osmo_stats_init(tall_msc_ctx);
rate_ctr_init(tall_msc_ctx);
/* For --version, vty_init() must be called before handling options */
vty_init(&msc_vty_info);