<p>dexter has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/11139">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">mncc: fix byte ordering of IP-Address in mncc<br><br>At the moment osmo-msc populates the member ip in struct gsm_mncc_rtp<br>with the wrong byte ordering. This causes LCR or<br>osmo-sip-connector to receive the IP address in the wrong order, which<br>eventually leads into a reversed IP address in the SDP part of the SIP<br>messages.<br><br>Change-Id: I86148179b549b511528e4c65213eb6c204cc609e<br>Related: OS#3431<br>---<br>M src/libmsc/gsm_04_08_cc.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-msc refs/changes/39/11139/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/libmsc/gsm_04_08_cc.c b/src/libmsc/gsm_04_08_cc.c</span><br><span>index 2c17e22..19e6cba 100644</span><br><span>--- a/src/libmsc/gsm_04_08_cc.c</span><br><span>+++ b/src/libmsc/gsm_04_08_cc.c</span><br><span>@@ -1606,7 +1606,7 @@</span><br><span> </span><br><span>     rtp->callref = callref;</span><br><span>   rtp->msg_type = cmd;</span><br><span style="color: hsl(0, 100%, 40%);">- rtp->ip = addr;</span><br><span style="color: hsl(120, 100%, 40%);">+    rtp->ip = osmo_htonl(addr);</span><br><span>       rtp->port = port;</span><br><span>         rtp->payload_type = payload_type;</span><br><span>         rtp->payload_msg_type = payload_msg_type;</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/11139">change 11139</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/11139"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-msc </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: I86148179b549b511528e4c65213eb6c204cc609e </div>
<div style="display:none"> Gerrit-Change-Number: 11139 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: dexter <pmaier@sysmocom.de> </div>