[PATCH] Workaround to add IPv6 support to getifaddrs
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Sat, 10 Oct 2020 19:54:24 +0000 (20:54 +0100)
committerAurelien Jarno <aurel32@debian.org>
Sat, 10 Oct 2020 19:54:24 +0000 (20:54 +0100)
commite6280ba8e1059ed58b3012e874316f3f65961ec1
tree5d31eaa6c86d2ea0c65cec0e6ea044fb433e4909
parent911f0d917fe96119210a6bf8ee03ed6dc6e96da3
[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]