<p>Do not rely on hardcoded interface names (eth0, wlan0) in sqResolverLocalAddress(void). Use ifa_flags to filter the list instead.<br>
When an interface has no address assigned, just skip it instead of failing the primitive and leaking memory (return without calling freeifaddrs).</p>
<p>On behalf of Levente</p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/458'>https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/458</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>Improved local address support on linux</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/458/files#diff-0">platforms/unix/plugins/SocketPlugin/sqUnixSocket.c</a>
    (37)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/458.patch'>https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/458.patch</a></li>
  <li><a href='https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/458.diff'>https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/458.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/458?email_source=notifications&email_token=AIJPEWZEHDGPGXQRQUPE5T3Q2HJFXA5CNFSM4J64RDWKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4ICPG7WQ">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AIJPEW24VIU3DREBNCQIUD3Q2HJFXANCNFSM4J64RDWA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AIJPEW36Y4N5RX527UFBED3Q2HJFXA5CNFSM4J64RDWKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4ICPG7WQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/458?email_source=notifications\u0026email_token=AIJPEWZEHDGPGXQRQUPE5T3Q2HJFXA5CNFSM4J64RDWKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4ICPG7WQ",
"url": "https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/458?email_source=notifications\u0026email_token=AIJPEWZEHDGPGXQRQUPE5T3Q2HJFXA5CNFSM4J64RDWKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4ICPG7WQ",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>