Harald Welte has submitted this change and it was merged. ( 
https://gerrit.osmocom.org/11229 )

Change subject: osmo_bsc_main.c: initialize rate counters
......................................................................

osmo_bsc_main.c: initialize rate counters

main() was missing a call to rate_ctr_init(). Without it, the counters
increased properly, but the times per second / minute / hour etc. values
would always stay at zero.

Change-Id: I4466a7aec51673c79b67614c9dde987633e379e0
Related: OS#3579
---
M src/osmo-bsc/osmo_bsc_main.c
1 file changed, 1 insertion(+), 0 deletions(-)

Approvals:
  Jenkins Builder: Verified
  Harald Welte: Looks good to me, approved



diff --git a/src/osmo-bsc/osmo_bsc_main.c b/src/osmo-bsc/osmo_bsc_main.c
index 60175e1..468b58e 100644
--- a/src/osmo-bsc/osmo_bsc_main.c
+++ b/src/osmo-bsc/osmo_bsc_main.c
@@ -805,6 +805,7 @@

        osmo_init_logging2(tall_bsc_ctx, &log_info);
        osmo_stats_init(tall_bsc_ctx);
+       rate_ctr_init(tall_bsc_ctx);

        /* Allocate global gsm_network struct */
        rc = bsc_network_alloc();

--
To view, visit https://gerrit.osmocom.org/11229
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I4466a7aec51673c79b67614c9dde987633e379e0
Gerrit-Change-Number: 11229
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osm...@sysmocom.de>
Gerrit-Reviewer: Harald Welte <lafo...@gnumonks.org>
Gerrit-Reviewer: Jenkins Builder (1000002)

Reply via email to