Workaround to add IPv6 support to getifaddrs
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Sun, 8 Sep 2019 20:34:02 +0000 (21:34 +0100)
committerAurelien Jarno <aurel32@debian.org>
Sun, 8 Sep 2019 20:34:02 +0000 (21:34 +0100)
commit5def0ae24bf21463d52fad1c4cc71e300d0fd78b
treeae61f9e351d2d1044d23af33b9a2d56c454429e2
parent7fead870088714f52dfd68eb977730c45a670af4
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]