Workaround to add IPv6 support to getifaddrs
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Wed, 5 Dec 2018 18:50:21 +0000 (18:50 +0000)
committerAurelien Jarno <aurel32@debian.org>
Wed, 5 Dec 2018 18:50:21 +0000 (18:50 +0000)
commit8a6fb4230f1473ee13fece2ccb38c6fd4188423d
tree41c4e2131a4b5677708616b9dfeced6e557bce88
parent835231c0a64886c9761f0d383b4df04b0adb95f4
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]