<p>Harald Welte <strong>merged</strong> this change.</p><p><a href="https://gerrit.osmocom.org/12348">View Change</a></p><div style="white-space:pre-wrap">Approvals:
  Jenkins Builder: Verified
  Harald Welte: Looks good to me, approved

</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">Osmocom_CTRL_Adapter: Let the OS decide over the local port number<br><br>At the moment the function f_ipa_ctrl_start() is starting the IPA<br>emulation client with parameter -1 for local port. This is internally<br>translated to port number 9999, which is a fixed number. This makes<br>it impossible to have two control interfaces at the same time.<br><br>Lets use 0 as local port, so that the OS is selecting a free port<br>number automatically.<br><br>Change-Id: Ie6648f8f4c1e065c174868c35eb64ee034ace3ce<br>Related: OS#3645<br>---<br>M library/Osmocom_CTRL_Adapter.ttcn<br>1 file changed, 1 insertion(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/library/Osmocom_CTRL_Adapter.ttcn b/library/Osmocom_CTRL_Adapter.ttcn</span><br><span>index a98ac29..f1002bd 100644</span><br><span>--- a/library/Osmocom_CTRL_Adapter.ttcn</span><br><span>+++ b/library/Osmocom_CTRL_Adapter.ttcn</span><br><span>@@ -29,7 +29,7 @@</span><br><span>     map(vc_CTRL_IPA:IPA_PORT, system:IPA_CODEC_PT);</span><br><span>      connect(vc_CTRL_IPA:IPA_CTRL_PORT, self:IPA_CTRL);</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-  vc_CTRL_IPA.start(IPA_Emulation.main_client(bsc_host, bsc_port, "", -1,</span><br><span style="color: hsl(120, 100%, 40%);">+     vc_CTRL_IPA.start(IPA_Emulation.main_client(bsc_host, bsc_port, "", 0,</span><br><span>                                                 c_IPA_default_ccm_pars, false));</span><br><span> </span><br><span>     /* wait for IPA CTRL link to connect and send UP */</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/12348">change 12348</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/12348"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-ttcn3-hacks </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: merged </div>
<div style="display:none"> Gerrit-Change-Id: Ie6648f8f4c1e065c174868c35eb64ee034ace3ce </div>
<div style="display:none"> Gerrit-Change-Number: 12348 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: dexter <pmaier@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Harald Welte <laforge@gnumonks.org> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder (1000002) </div>