From 2db1966e25bbecb4dfb275f88e03aacace7863d0 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Fri, 13 May 2022 19:16:57 +0200 Subject: [PATCH] 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 --- src/osmo-msc/msc_main.c | 1 + 1 file changed, 1 insertion(+) 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);