[PATCH] Workaround to add IPv6 support to getifaddrs
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Tue, 17 Oct 2023 12:00:24 +0000 (13:00 +0100)
committerPeter Michael Green <plugwash@raspbian.org>
Tue, 17 Oct 2023 12:00:24 +0000 (13:00 +0100)
commit031f039d36457c51c717b7bef19fff216c62407d
treed696ee32301df7b9856d3fc96d735938e6351542
parent3d7419ce38969b73ce455b5f819013dcb0836552
[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]