[PATCH] Workaround to add IPv6 support to getifaddrs
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Thu, 13 Jul 2023 18:07:47 +0000 (19:07 +0100)
committerAurelien Jarno <aurel32@debian.org>
Thu, 13 Jul 2023 18:07:47 +0000 (19:07 +0100)
commit7c97ad6ca6acd7209672ebb2327c2d442f82d94a
tree1574581606d0cd35af3072e1eca929be9a48a7af
parent4fc1efb0408d83ddbb7224ece43ee6a87b0f8fce
[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]