[Vm-dev] [OpenSmalltalk/opensmalltalk-vm] Improved local address support on linux (#458)

Nicolas Cellier notifications at github.com
Tue Dec 24 09:31:07 UTC 2019

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

On behalf of Levente
You can view, comment on, or merge this pull request online at:


-- Commit Summary --

  * Improved local address support on linux

-- File Changes --

    M platforms/unix/plugins/SocketPlugin/sqUnixSocket.c (37)

-- Patch Links --


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20191224/eafec97b/attachment.html>

More information about the Vm-dev mailing list