<p>osmith has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/11229">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">osmo_bsc_main.c: initialize rate counters<br><br>main() was missing a call to rate_ctr_init(). Without it, the counters<br>increased properly, but the times per second / minute / hour etc. values<br>would always stay at zero.<br><br>Change-Id: I4466a7aec51673c79b67614c9dde987633e379e0<br>Related: OS#3579<br>---<br>M src/osmo-bsc/osmo_bsc_main.c<br>1 file changed, 1 insertion(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/29/11229/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/osmo-bsc/osmo_bsc_main.c b/src/osmo-bsc/osmo_bsc_main.c</span><br><span>index 60175e1..468b58e 100644</span><br><span>--- a/src/osmo-bsc/osmo_bsc_main.c</span><br><span>+++ b/src/osmo-bsc/osmo_bsc_main.c</span><br><span>@@ -805,6 +805,7 @@</span><br><span> </span><br><span>         osmo_init_logging2(tall_bsc_ctx, &log_info);</span><br><span>     osmo_stats_init(tall_bsc_ctx);</span><br><span style="color: hsl(120, 100%, 40%);">+        rate_ctr_init(tall_bsc_ctx);</span><br><span> </span><br><span>     /* Allocate global gsm_network struct */</span><br><span>     rc = bsc_network_alloc();</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/11229">change 11229</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/11229"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-bsc </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: I4466a7aec51673c79b67614c9dde987633e379e0 </div>
<div style="display:none"> Gerrit-Change-Number: 11229 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: osmith <osmith@sysmocom.de> </div>