<p>pespin has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/libosmo-sccp/+/16957">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">osmo_sccp_simple_server(): use sccp instance index 0 instead of 1<br><br>When using osmo_sccp_simple_client(), it will create an sccp instance if<br>none exists. The sccp instance identifier starts with 0.<br>The implicit created instance should use sccp instance 0 (the<br>first connection).<br><br>This is basically a counterpart of much older commit<br>3884eb68d9322967340d4f04e7382b2147ec7a2e, were same logic was applied to<br>osmo_sccp_simple_client().<br><br>Change-Id: I85d2680ac65a552d7b2824ec41cd8fc669782079<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/57/16957/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 386f424..d85fc1d 100644</span><br><span>--- a/src/sccp_user.c</span><br><span>+++ b/src/sccp_user.c</span><br><span>@@ -691,7 +691,7 @@</span><br><span>                     enum osmo_ss7_asp_protocol prot, int local_port,</span><br><span>                     const char *local_ip)</span><br><span> {</span><br><span style="color: hsl(0, 100%, 40%);">-      return osmo_sccp_simple_server_on_ss7_id(ctx, 1, pc, prot,</span><br><span style="color: hsl(120, 100%, 40%);">+    return osmo_sccp_simple_server_on_ss7_id(ctx, 0, pc, prot,</span><br><span>                                            local_port, local_ip);</span><br><span> }</span><br><span> </span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/libosmo-sccp/+/16957">change 16957</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/+/16957"/><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: I85d2680ac65a552d7b2824ec41cd8fc669782079 </div>
<div style="display:none"> Gerrit-Change-Number: 16957 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>