<p>Vadim Yanitskiy has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-bts/+/20495">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">oml: fix handling of NSVC local port in oml_ipa_mo_set_attr_nsvc()<br><br>This is another regresion introduced by [1].  Both local and remote<br>port numbers recived in the network order, and must be stored as-is.<br><br>Change-Id: I3c21a2c27dcbf6de728ce2c7ccbae9e2f517c450<br>Fixes: I310699fabbfec4255f0474f31717f215c1201eca<br>Related: SYS#4915<br>---<br>M src/common/oml.c<br>1 file changed, 1 insertion(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/95/20495/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/common/oml.c b/src/common/oml.c</span><br><span>index 5394e8a..2a87b03 100644</span><br><span>--- a/src/common/oml.c</span><br><span>+++ b/src/common/oml.c</span><br><span>@@ -1272,7 +1272,7 @@</span><br><span>                 nsvc->remote.u.sin.sin_addr.s_addr = _cur_l;</span><br><span>              cur += 4;</span><br><span>            memcpy(&_cur_s, cur, 2);</span><br><span style="color: hsl(0, 100%, 40%);">-            nsvc->local.u.sin.sin_port = ntohs(_cur_s);</span><br><span style="color: hsl(120, 100%, 40%);">+                nsvc->local.u.sin.sin_port = _cur_s;</span><br><span>      }</span><br><span> </span><br><span>        if (TLVP_PRES_LEN(tp, NM_ATT_OSMO_NS_LINK_CFG, 10)) {</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-bts/+/20495">change 20495</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-bts/+/20495"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-bts </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I3c21a2c27dcbf6de728ce2c7ccbae9e2f517c450 </div>
<div style="display:none"> Gerrit-Change-Number: 20495 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Vadim Yanitskiy <vyanitskiy@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>