[OpenSmalltalk/opensmalltalk-vm] 0a17d7: Improved local address support on linux

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[OpenSmalltalk/opensmalltalk-vm] 0a17d7: Improved local address support on linux

Eliot Miranda-3
 
  Branch: refs/heads/Cog
  Home:   https://github.com/OpenSmalltalk/opensmalltalk-vm
  Commit: 0a17d73640e258b8d12aae078c90aec459f69c17
      https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/0a17d73640e258b8d12aae078c90aec459f69c17
  Author: Levente Uzonyi <[hidden email]>
  Date:   2019-12-11 (Wed, 11 Dec 2019)

  Changed paths:
    M platforms/unix/plugins/SocketPlugin/sqUnixSocket.c

  Log Message:
  -----------
  Improved local address support on linux

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).


  Commit: f70cf5f34041e0e197542651e90505a0b86325f6
      https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/f70cf5f34041e0e197542651e90505a0b86325f6
  Author: Nicolas Cellier <[hidden email]>
  Date:   2019-12-26 (Thu, 26 Dec 2019)

  Changed paths:
    M platforms/unix/plugins/SocketPlugin/sqUnixSocket.c

  Log Message:
  -----------
  Merge pull request #458 from smalltalking/Cog

Improved local address support on linux


Compare: https://github.com/OpenSmalltalk/opensmalltalk-vm/compare/6a00809326e3...f70cf5f34041