[PATCH] Workaround to add IPv6 support to getifaddrs
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Thu, 17 Mar 2022 21:37:00 +0000 (21:37 +0000)
committerAurelien Jarno <aurel32@debian.org>
Thu, 17 Mar 2022 21:37:00 +0000 (21:37 +0000)
commitf246e8f00dde20ff2658f35a135978105a8b4b1b
treeaac37e4b92d2d49bff0cf58e6d7d8f6f01c24fdb
parent0bf1ad8affde79131518da560eebe28bbcc0324a
[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]