aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@osmocom.org>2022-05-13 19:16:57 +0200
committerHarald Welte <laforge@osmocom.org>2022-05-13 19:16:57 +0200
commit2db1966e25bbecb4dfb275f88e03aacace7863d0 (patch)
treee7a72a81f27f248ccd1ed8d946a4e0c4f25b9682
parent5d53c6001dc3af457aa32de59ed5fc31d71fcce7 (diff)
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
-rw-r--r--src/osmo-msc/msc_main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/osmo-msc/msc_main.c b/src/osmo-msc/msc_main.c
index 9657c716d..b5496fb7a 100644
--- a/src/osmo-msc/msc_main.c
+++ b/src/osmo-msc/msc_main.c
@@ -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);