[PATCH] Workaround to add IPv6 support to getifaddrs
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Mon, 11 May 2020 00:04:03 +0000 (01:04 +0100)
committerSamuel Thibault <sthibault@debian.org>
Mon, 11 May 2020 00:04:03 +0000 (01:04 +0100)
commit4e758083f05406493f15881eaae0f0e39a439958
tree028d2b938b368f33986c217f0c0456a6f8a261f4
parente3b30691cc76ec9ad4e85ed4b0530ae38bd6e8b7
[PATCH] 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]