[PATCH] Workaround to add IPv6 support to getifaddrs
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Sat, 1 May 2021 20:56:06 +0000 (21:56 +0100)
committerAurelien Jarno <aurel32@debian.org>
Sat, 1 May 2021 20:56:06 +0000 (21:56 +0100)
commit1c0ba45c3719e49eed290fca4b9219b93461bf91
tree9ccb891ec496226889203eec2b3ca5f8153e4f11
parent590343ceefb29658ef6b12a0d432830df6f41669
[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]