[PATCH] Workaround to add IPv6 support to getifaddrs
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Tue, 30 Jan 2024 18:20:04 +0000 (19:20 +0100)
committerAurelien Jarno <aurel32@debian.org>
Tue, 30 Jan 2024 18:20:04 +0000 (19:20 +0100)
commita9e9e7c8f94d5c266c03b06b28845cb9edce2d0e
tree878bd1179f0080b4e3fba274cac20aa5acf5cc8f
parent2df0e05ac831391df0898d05d5accb52bc624b56
[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]