[PATCH] Workaround to add IPv6 support to getifaddrs
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Mon, 2 Oct 2023 20:22:57 +0000 (21:22 +0100)
committerAurelien Jarno <aurel32@debian.org>
Mon, 2 Oct 2023 20:22:57 +0000 (21:22 +0100)
commit486bbd7e0138bb37ec9071bfde7986dac0116b4d
treeed8bef06a0ce3902c2c36a27df893da205443f6d
parentc8ee92b1ba687a2868471ba934c9c5c4237ea8be
[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]