<p>laforge <strong>submitted</strong> this change.</p><p><a href="https://gerrit.osmocom.org/c/libosmo-sccp/+/15988">View Change</a></p><div style="white-space:pre-wrap">Approvals:
  laforge: Looks good to me, approved
  pespin: Looks good to me, but someone else must approve
  Jenkins Builder: Verified

</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">osmo_ss7.c: fix xua_accept_cb(): properly assign role<br><br>Most likely, we want all dynamically allocated ASPs to play the SG<br>role by default. Otherwise when using the following configuration:<br><br>  cs7 instance 0<br>   xua rkm routing-key-allocation dynamic-permitted<br>   listen m3ua 2905<br>    accept-asp-connections dynamic-permitted<br><br>both OsmoMSC and OsmoBSC fail to establish connections.<br><br>Change-Id: Ib904ecf0e5d192a1024863f6f0fdf79301055655<br>Fixes: I2df9cd9747ad5c9a05d567d9a71bab6184c53674<br>Related: OS#4247<br>---<br>M src/osmo_ss7.c<br>1 file changed, 1 insertion(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/osmo_ss7.c b/src/osmo_ss7.c</span><br><span>index 77e8f72..7ff3efe 100644</span><br><span>--- a/src/osmo_ss7.c</span><br><span>+++ b/src/osmo_ss7.c</span><br><span>@@ -1763,6 +1763,7 @@</span><br><span>                              LOGP(DLSS7, LOGL_INFO, "%s: created dynamic ASP %s\n",</span><br><span>                                     sock_name, asp->cfg.name);</span><br><span>                                asp->cfg.is_server = true;</span><br><span style="color: hsl(120, 100%, 40%);">+                         asp->cfg.role = OSMO_SS7_ASP_ROLE_SG;</span><br><span>                             asp->cfg.local.host[0] = NULL;</span><br><span>                            asp->cfg.local.host_cnt = 1;</span><br><span>                              asp->cfg.remote.port = atoi(portbuf);</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/libosmo-sccp/+/15988">change 15988</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/+/15988"/><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: Ib904ecf0e5d192a1024863f6f0fdf79301055655 </div>
<div style="display:none"> Gerrit-Change-Number: 15988 </div>
<div style="display:none"> Gerrit-PatchSet: 4 </div>
<div style="display:none"> Gerrit-Owner: fixeria <axilirator@gmail.com> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: fixeria <axilirator@gmail.com> </div>
<div style="display:none"> Gerrit-Reviewer: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-Reviewer: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: merged </div>