<p>pespin has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-pcu/+/26155">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">tbf: Set m_created_ts in constructor<br><br>This way the timestamp is also set for dummy reject TBFs. For other<br>TBFs, setup() is called immediatelly after calling the constructor, so<br>we are fine too.<br><br>Change-Id: I2966ec7f3f9161d528a173d94797b72d1398c747<br>---<br>M src/tbf.cpp<br>1 file changed, 2 insertions(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-pcu refs/changes/55/26155/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/tbf.cpp b/src/tbf.cpp</span><br><span>index 2d6139b..4bd87dd 100644</span><br><span>--- a/src/tbf.cpp</span><br><span>+++ b/src/tbf.cpp</span><br><span>@@ -137,6 +137,8 @@</span><br><span>   m_llc.init();</span><br><span> </span><br><span>    m_name_buf[0] = '\0';</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+       m_created_ts = time(NULL);</span><br><span> }</span><br><span> </span><br><span> </span><br><span>@@ -657,7 +659,6 @@</span><br><span>        if (ms_mode(m_ms) != GPRS)</span><br><span>           enable_egprs();</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-     m_created_ts = time(NULL);</span><br><span>   /* select algorithm */</span><br><span>       rc = the_pcu->alloc_algorithm(bts, this, single_slot, use_trx);</span><br><span>   /* if no resource */</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-pcu/+/26155">change 26155</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/c/osmo-pcu/+/26155"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-pcu </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I2966ec7f3f9161d528a173d94797b72d1398c747 </div>
<div style="display:none"> Gerrit-Change-Number: 26155 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>