[PATCH] Workaround to add IPv6 support to getifaddrs
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Sat, 7 Jan 2023 11:29:49 +0000 (11:29 +0000)
committerAurelien Jarno <aurel32@debian.org>
Sat, 7 Jan 2023 11:29:49 +0000 (11:29 +0000)
commit0f295e10642b25221ba170c5417b596452bde249
treeb82e0b9a1cdf4d70142403462d093119ebe27f9e
parent54a668134aad87d19e1f8c1b8c3acd78f51c482f
[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]