[PATCH] Workaround to add IPv6 support to getifaddrs
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Tue, 15 Feb 2022 11:21:20 +0000 (11:21 +0000)
committerAurelien Jarno <aurel32@debian.org>
Tue, 15 Feb 2022 11:21:20 +0000 (11:21 +0000)
commitd8e7d58bf681b53ef3b45ed4c3036c27500cdc43
tree2662d5ecb588e8ee70900ee1de375ec9be9de270
parent99e444f0a10b209d75203b98f6e521bf920708aa
[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]