[PATCH] Workaround to add IPv6 support to getifaddrs
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Sun, 2 Oct 2022 17:46:25 +0000 (18:46 +0100)
committerPeter Michael Green <plugwash@raspbian.org>
Sun, 2 Oct 2022 17:46:25 +0000 (18:46 +0100)
commita6846f6e16e508d7fbb671c7fe5f1a627bdb6048
tree956b2c9c1a31b6f122fe790a7863e513919085ab
parent7236910ce9806351a8750a60ed24f02ce9b3b0bf
[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]