<p>lynxis lazus <strong>uploaded patch set #3</strong> to this change.</p><p><a href="https://gerrit.osmocom.org/c/libosmocore/+/19140">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">osmo_sock_init2: improve support for AF_UNSPEC<br><br>osmo_sock_init2 abstract two calls of getaddrinfo into one.<br>While there aren't problems with AF_INET or AF_INET6. When using<br>AF_UNSPEC there are corner cases when this fails. E.g. calling<br>local_host with "" and remote_host with an IPv6 only address results in<br>setting up a local socket with AF_INET while trying to connect from there towards<br>AF_INET6 will most likely fail.<br>To prevent such cases with AF_UNSPEC, search prio calling any syscalls if local and remote site<br>supports AF_INET or AF_INET6. In case both supported, prefer AF_INET6<br><br>Change-Id: I397c633931fd00d4f083955a3c49a40fb002d766<br>---<br>M src/socket.c<br>M tests/socket/socket_test.c<br>M tests/socket/socket_test.err<br>M tests/socket/socket_test.ok<br>4 files changed, 101 insertions(+), 14 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/40/19140/3</pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/libosmocore/+/19140">change 19140</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/libosmocore/+/19140"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: libosmocore </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I397c633931fd00d4f083955a3c49a40fb002d766 </div>
<div style="display:none"> Gerrit-Change-Number: 19140 </div>
<div style="display:none"> Gerrit-PatchSet: 3 </div>
<div style="display:none"> Gerrit-Owner: lynxis lazus <lynxis@fe80.eu> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: lynxis lazus <lynxis@fe80.eu> </div>
<div style="display:none"> Gerrit-Reviewer: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-CC: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>