[PATCH] Workaround to add IPv6 support to getifaddrs
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Thu, 25 Aug 2022 17:16:34 +0000 (18:16 +0100)
committerAurelien Jarno <aurel32@debian.org>
Thu, 25 Aug 2022 17:16:34 +0000 (18:16 +0100)
commitf2a99c5a21328ac10c22fcaffc1980bee23974a4
treeead6cc9b077c13c9e5693a26b867d4db62725f34
parent173de503dde0b920ce15472a77eb4603d1cb5ad7
[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]