<p>lynxis lazus has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/libosmocore/+/24828">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">gprs_ns2: correct mtu value in the log line<br><br>The log line should describe what's reported towards the NS user<br>and not the NSE MTU itself<br><br>Related: OS#5192<br>Change-Id: I3f5445a1ba8c89c4023ff48be15a80569a128528<br>---<br>M src/gb/gprs_ns2.c<br>1 file changed, 2 insertions(+), 2 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/28/24828/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/gb/gprs_ns2.c b/src/gb/gprs_ns2.c</span><br><span>index a8e646b..3eb59e5 100644</span><br><span>--- a/src/gb/gprs_ns2.c</span><br><span>+++ b/src/gb/gprs_ns2.c</span><br><span>@@ -562,11 +562,11 @@</span><br><span>          nsp.u.status.nsvc = gprs_ns2_ll_str_buf(nsvc_str, sizeof(nsvc_str), nsvc);</span><br><span>           LOGNSVC(nsvc, LOGL_NOTICE, "NS-STATUS.ind(bvci=%05u): cause=%s, transfer=%d, first=%d, mtu=%d\n",</span><br><span>                  nsp.bvci, gprs_ns2_aff_cause_prim_str(nsp.u.status.cause),</span><br><span style="color: hsl(0, 100%, 40%);">-                      nsp.u.status.transfer, nsp.u.status.first, nse->mtu);</span><br><span style="color: hsl(120, 100%, 40%);">+                      nsp.u.status.transfer, nsp.u.status.first, nsp.u.status.mtu);</span><br><span>        } else {</span><br><span>             LOGNSE(nse, LOGL_NOTICE, "NS-STATUS.ind(bvci=%05u): cause=%s, transfer=%d, first=%d, mtu=%d\n",</span><br><span>                    nsp.bvci, gprs_ns2_aff_cause_prim_str(nsp.u.status.cause),</span><br><span style="color: hsl(0, 100%, 40%);">-                      nsp.u.status.transfer, nsp.u.status.first, nse->mtu);</span><br><span style="color: hsl(120, 100%, 40%);">+                      nsp.u.status.transfer, nsp.u.status.first, nsp.u.status.mtu);</span><br><span>        }</span><br><span> </span><br><span>        osmo_prim_init(&nsp.oph, SAP_NS, GPRS_NS2_PRIM_STATUS, PRIM_OP_INDICATION, NULL);</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/libosmocore/+/24828">change 24828</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/+/24828"/><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: I3f5445a1ba8c89c4023ff48be15a80569a128528 </div>
<div style="display:none"> Gerrit-Change-Number: 24828 </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>