<p>Max has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/11644">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">NS: print ip:port on error<br><br>Change-Id: I2f558021b7754db9593934888d12f9c879dc2988<br>---<br>M library/NS_Emulation.ttcn<br>1 file changed, 3 insertions(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/44/11644/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/library/NS_Emulation.ttcn b/library/NS_Emulation.ttcn</span><br><span>index 7cccb25..ca4d1d6 100644</span><br><span>--- a/library/NS_Emulation.ttcn</span><br><span>+++ b/library/NS_Emulation.ttcn</span><br><span>@@ -83,7 +83,9 @@</span><br><span>          /* Connect the UDP socket */</span><br><span>                 res := f_IPL4_connect(NSCP, config.remote_ip, config.remote_udp_port, config.local_ip, config.local_udp_port, 0, { udp := {}});</span><br><span>              if (not ispresent(res.connId)) {</span><br><span style="color: hsl(0, 100%, 40%);">-                        setverdict(fail, "Could not connect NS UDP socket, check your configuration");</span><br><span style="color: hsl(120, 100%, 40%);">+                      setverdict(fail, "Could not connect NS UDP socket from " &</span><br><span style="color: hsl(120, 100%, 40%);">+                                 config.local_ip & ":"  & int2str(config.local_udp_port) &</span><br><span style="color: hsl(120, 100%, 40%);">+                               " to " & config.remote_ip & ":" & int2str(config.remote_udp_port));</span><br><span>                       mtc.stop;</span><br><span>            }</span><br><span>            g_conn_id := res.connId;</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/11644">change 11644</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/11644"/><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: newchange </div>
<div style="display:none"> Gerrit-Change-Id: I2f558021b7754db9593934888d12f9c879dc2988 </div>
<div style="display:none"> Gerrit-Change-Number: 11644 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Max <msuraev@sysmocom.de> </div>