<p>lynxis lazus has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/libosmo-sccp/+/15062">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">osmo_sccp_simple_client(): use sccp instance 0 instead of 1<br><br>When using osmo_sccp_simple_client(), it will create an sccp instance if<br>one is not yet present. The sccp connection identifier starts with 0.<br>So the implicit created connection should use sccp connection 0 (the<br>first connection).<br><br>Change-Id: I9d9f65555b9cdc1e3c697c8b834528d51878e1ae<br>---<br>M src/sccp_user.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/libosmo-sccp refs/changes/62/15062/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/sccp_user.c b/src/sccp_user.c</span><br><span>index 63eba2a..ff5eb08 100644</span><br><span>--- a/src/sccp_user.c</span><br><span>+++ b/src/sccp_user.c</span><br><span>@@ -635,7 +635,7 @@</span><br><span>        *  the only difference is that the ID of the CS7 instance will be</span><br><span>    *  set to 1 statically */</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-  return osmo_sccp_simple_client_on_ss7_id(ctx, 1, name, default_pc, prot,</span><br><span style="color: hsl(120, 100%, 40%);">+      return osmo_sccp_simple_client_on_ss7_id(ctx, 0, name, default_pc, prot,</span><br><span>                                              default_local_port,</span><br><span>                                                  default_local_ip,</span><br><span>                                            default_remote_port,</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/libosmo-sccp/+/15062">change 15062</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/libosmo-sccp/+/15062"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: libosmo-sccp </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I9d9f65555b9cdc1e3c697c8b834528d51878e1ae </div>
<div style="display:none"> Gerrit-Change-Number: 15062 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: lynxis lazus <lynxis@fe80.eu> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>