Workaround to add IPv6 support to getifaddrs
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Thu, 28 Feb 2019 05:56:01 +0000 (05:56 +0000)
committerSamuel Thibault <sthibault@debian.org>
Thu, 28 Feb 2019 05:56:01 +0000 (05:56 +0000)
commite4137a858650a1bc91e31d9a1de8e6b42241ac7d
tree120ec67ef6110cf5ce9cae3424a7d30883c8db00
parentb5998d0a49f57d6d32fd613b406a42a10020fafa
Workaround to add IPv6 support to getifaddrs

ifreq only contains sockaddr structures, which are not big enough for
IPv6 addresses. This takes another, ugly, approach, by parsing fsysopts
/servers/socket/2 options...

Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name tg-ifaddrs_v6.diff
sysdeps/mach/hurd/ifaddrs.c [new file with mode: 0644]