Workaround to add IPv6 support to getifaddrs
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Tue, 21 Nov 2017 23:14:20 +0000 (23:14 +0000)
committerAurelien Jarno <aurel32@debian.org>
Tue, 21 Nov 2017 23:14:20 +0000 (23:14 +0000)
commit9464bf0d2b1c53c097e1d1b49098f176178b88c8
treeaae759b007eab3ba0f702f29bea866ecf629b272
parentee4c7ab3be3324ba939e1b0a41ea806382f4241b
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]