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

</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">ss7: Fix finding asp by socket addr if local ip addr is 0.0.0.0<br><br>Fixes: 80b135581909fef595d48436ab04dbcb147e3895<br>Change-Id: I319e4983b35f63846ed7e8bfa8e8e3688c5d16e6<br>---<br>M src/osmo_ss7.c<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/src/osmo_ss7.c b/src/osmo_ss7.c</span><br><span>index 5da0da8..8a86af1 100644</span><br><span>--- a/src/osmo_ss7.c</span><br><span>+++ b/src/osmo_ss7.c</span><br><span>@@ -1167,7 +1167,8 @@</span><br><span>                                continue;</span><br><span> </span><br><span>                        for (i = 0; i < asp->cfg.local.host_cnt; i++) {</span><br><span style="color: hsl(0, 100%, 40%);">-                           if (!asp->cfg.local.host[i] || !strcmp(asp->cfg.local.host[i], hostbuf_l))</span><br><span style="color: hsl(120, 100%, 40%);">+                              bool is_any = !asp->cfg.local.host[i] || !strcmp(asp->cfg.local.host[i], "0.0.0.0");</span><br><span style="color: hsl(120, 100%, 40%);">+                          if (is_any || !strcmp(asp->cfg.local.host[i], hostbuf_l))</span><br><span>                                         break;</span><br><span>                       }</span><br><span>                    if (i == asp->cfg.local.host_cnt)</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/libosmo-sccp/+/15866">change 15866</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/+/15866"/><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: I319e4983b35f63846ed7e8bfa8e8e3688c5d16e6 </div>
<div style="display:none"> Gerrit-Change-Number: 15866 </div>
<div style="display:none"> Gerrit-PatchSet: 3 </div>
<div style="display:none"> Gerrit-Owner: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-MessageType: merged </div>