<p>Harald Welte <strong>merged</strong> this change.</p><p><a href="https://gerrit.osmocom.org/10725">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;">improve connection failure message in IPA emulation<br><br>Show addresses and ports which were attempted in the IPA<br>connection failure message.<br><br>Example output:<br>Verdict: fail reason: Could not connect IPA socket from "" port -1 \<br>     to "127.0.0.1" port 4238; check your configuration<br><br>Change-Id: I828fe67d66bcd668aa14922b89a2feac56dc2d9a<br>---<br>M library/IPA_Emulation.ttcnpp<br>1 file changed, 2 insertions(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/library/IPA_Emulation.ttcnpp b/library/IPA_Emulation.ttcnpp</span><br><span>index 5c385e6..7a26a6b 100644</span><br><span>--- a/library/IPA_Emulation.ttcnpp</span><br><span>+++ b/library/IPA_Emulation.ttcnpp</span><br><span>@@ -208,7 +208,8 @@</span><br><span>  res := IPA_CodecPort_CtrlFunct.f_IPL4_connect(IPA_PORT, remote_host, remote_port,</span><br><span>                                            local_host, local_port, 0, { tcp:={} });</span><br><span>     if (not ispresent(res.connId)) {</span><br><span style="color: hsl(0, 100%, 40%);">-                setverdict(fail, "Could not connect IPA socket, check your configuration");</span><br><span style="color: hsl(120, 100%, 40%);">+         setverdict(fail, "Could not connect IPA socket from ", local_host, " port ", local_port,</span><br><span style="color: hsl(120, 100%, 40%);">+                     " to ", remote_host, " port ", remote_port, "; check your configuration");</span><br><span>          mtc.stop;</span><br><span>    }</span><br><span>    g_ipa_conn_id := res.connId;</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/10725">change 10725</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/10725"/><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: I828fe67d66bcd668aa14922b89a2feac56dc2d9a </div>
<div style="display:none"> Gerrit-Change-Number: 10725 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Stefan Sperling <ssperling@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>