[PATCH] Workaround to add IPv6 support to getifaddrs
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Mon, 13 Jul 2020 19:34:17 +0000 (20:34 +0100)
committerAurelien Jarno <aurel32@debian.org>
Mon, 13 Jul 2020 19:34:17 +0000 (20:34 +0100)
commitbb6f33b9a2b0bbb4c81df16bfb93f21a4492770e
tree4b6e7cac1b4e32f9ffb400696788b0b74c0e8a90
parent0d5a18eb1daeffe4bd24fe27b154b0fd6af897aa
[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]