<p>pespin <strong>uploaded patch set #2</strong> to this change.</p><p><a href="https://gerrit.osmocom.org/c/libosmo-sccp/+/25689">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">osmo_sccp_simple_client_on_ss7_id(): Allow set internally proper IPv4/v6 default hosts<br><br>Allow user apps to relay the decision of proper default local/remote<br>hosts values to the library. Proper configuration of these addresses can<br>be quite cumbersome to get correctly, or confusing at least. That's due<br>to the multi-homing feature of SCTP where both IPv4 and IPv6 are<br>involved.<br><br>We were already doing this kind of automatic setup in<br>osmo_ss7_vty_go_parent(), where we do validations and assign addresses<br>based on IPv6 availability.<br>On the other hand, apps using osmo_sccp_simple_client_on_ss7_id() API<br>usually pass  "localhost" as default address. In Linux, when IPv6 is enabled<br>localhost is resolved as "::1", and "127.0.0.1" when IPv6 is disabled.<br><br>Let's instead allow apps to relay the setup to the lib, so same addresses<br>can be applied both during VTY command as well as if there was no VTY<br>setup at all.<br><br>Related: OS#5186<br>Change-Id: I82e203612571b7651d758d8148661f706a1642ba<br>---<br>M src/Makefile.am<br>M src/osmo_ss7.c<br>M src/osmo_ss7_vty.c<br>M src/sccp_user.c<br>A src/ss7_internal.h<br>5 files changed, 104 insertions(+), 65 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/libosmo-sccp refs/changes/89/25689/2</pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/libosmo-sccp/+/25689">change 25689</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/+/25689"/><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: I82e203612571b7651d758d8148661f706a1642ba </div>
<div style="display:none"> Gerrit-Change-Number: 25689 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </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: daniel <dwillmann@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: dexter <pmaier@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: fixeria <vyanitskiy@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-Reviewer: osmith <osmith@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>