<p>lynxis lazus has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/libosmocore/+/22642">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">gprs_ns2_vc_fsm: reset ALIVE N counter when restarting the test procedure.<br><br>Otherwise a NS-VC would flap between ALIVE and UNBLOCKED state.<br><br>Related: OS#4959<br>Change-Id: Id98629bd65f92103e0e571ec388c58b02cb2ccb5<br>---<br>M src/gb/gprs_ns2_vc_fsm.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/libosmocore refs/changes/42/22642/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/gb/gprs_ns2_vc_fsm.c b/src/gb/gprs_ns2_vc_fsm.c</span><br><span>index f4c4e46..6314408 100644</span><br><span>--- a/src/gb/gprs_ns2_vc_fsm.c</span><br><span>+++ b/src/gb/gprs_ns2_vc_fsm.c</span><br><span>@@ -200,6 +200,7 @@</span><br><span>    switch (priv->alive.mode) {</span><br><span>       case NS_TOUT_TNS_TEST:</span><br><span>               priv->alive.mode = NS_TOUT_TNS_ALIVE;</span><br><span style="color: hsl(120, 100%, 40%);">+              priv->alive.N = 0;</span><br><span>                ns2_tx_alive(priv->nsvc);</span><br><span>                 osmo_timer_schedule(&priv->alive.timer, nsi->timeout[NS_TOUT_TNS_ALIVE], 0);</span><br><span>               break;</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/libosmocore/+/22642">change 22642</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/libosmocore/+/22642"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: libosmocore </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: Id98629bd65f92103e0e571ec388c58b02cb2ccb5 </div>
<div style="display:none"> Gerrit-Change-Number: 22642 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: lynxis lazus <lynxis@fe80.eu> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>