<p>In <a href="https://github.com/OpenSIPS/opensips/pull/728#discussion_r48743717">modules/ratelimit/ratelimit_helper.c</a>:</p>
<pre style='color:#555'>&gt; @@ -911,6 +923,7 @@ void rl_rcv_bin(int packet_type, struct receive_info *ri, int server_id)
&gt;                  /* set the destination&#39;s counter */
&gt;                  destination = find_destination(*pipe, server_id);
&gt;                  destination-&gt;counter = counter;
&gt; +                destination-&gt;hist_counter = hist_counter;
</pre>
<p>why not using the counter, but the hist_counter instead?</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">&mdash;<br>Reply to this email directly or <a href="https://github.com/OpenSIPS/opensips/pull/728/files#r48743717">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AFOcic8BHts0glKzhxnt7h0SgFTrlwaDks5pWow2gaJpZM4G3c6v.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/OpenSIPS/opensips/pull/728/files#r48743717"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>