<p>lynxis lazus has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/libosmocore/+/22200">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">gprs_ns2: when calling nsvc_force_unconf for a dynamic NSE drop the NSE.<br><br>The vty command is used for test cases to reset NSE state. So dynamic NSE shouldn't<br>present.<br><br>Change-Id: I0a4f35c974c8c3b79c48f2f56170722c95254332<br>---<br>M src/gb/gprs_ns2_vty2.c<br>1 file changed, 3 insertions(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/00/22200/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/gb/gprs_ns2_vty2.c b/src/gb/gprs_ns2_vty2.c</span><br><span>index 41daa74..5af8fbc 100644</span><br><span>--- a/src/gb/gprs_ns2_vty2.c</span><br><span>+++ b/src/gb/gprs_ns2_vty2.c</span><br><span>@@ -1491,7 +1491,9 @@</span><br><span>              return CMD_WARNING;</span><br><span>  }</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-   if (nse->dialect == NS2_DIALECT_SNS) {</span><br><span style="color: hsl(120, 100%, 40%);">+     if (!nse->persistent) {</span><br><span style="color: hsl(120, 100%, 40%);">+            gprs_ns2_free_nse(nse);</span><br><span style="color: hsl(120, 100%, 40%);">+       } else if (nse->dialect == NS2_DIALECT_SNS) {</span><br><span>             gprs_ns2_free_nsvcs(nse);</span><br><span>    } else {</span><br><span>             /* Perform the operation for all nsvc */</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/libosmocore/+/22200">change 22200</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/+/22200"/><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: I0a4f35c974c8c3b79c48f2f56170722c95254332 </div>
<div style="display:none"> Gerrit-Change-Number: 22200 </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>