]> git.ipfire.org Git - thirdparty/glibc.git/commit
nss: Fix tst-nss-files-hosts-long on single-stack hosts (bug 24816)
authorFlorian Weimer <fweimer@redhat.com>
Tue, 13 Sep 2022 14:11:40 +0000 (16:11 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Thu, 13 Oct 2022 12:28:25 +0000 (14:28 +0200)
commit2681d38cafaceafeb330bc0536fa710b75ed5947
treee51e3c8b37491eca9423da3cc5d64507832a937a
parent700d3281f9e57b53c27bc991394b22d467432626
nss: Fix tst-nss-files-hosts-long on single-stack hosts (bug 24816)

getent implicitly passes AI_ADDRCONFIG to getaddrinfo by default.
Use --no-addrconfig to suppress that, so that both IPv4 and IPv6
lookups succeed even if the address family is not supported by the
host.

Reviewed-by: Carlos O'Donell <carlos@redhat.com>
(cherry picked from commit c75d20b5b27b0a60f0678236f51a4d3b0b058c00)
NEWS
nss/tst-nss-files-hosts-long.c