chiark / gitweb /
nss-util: be a tiny bit more compatible with glibc's lookup behaviour regarding IPv6
authorLennart Poettering <lennart@poettering.net>
Thu, 17 Jul 2014 17:27:48 +0000 (19:27 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 17 Jul 2014 17:39:50 +0000 (19:39 +0200)
commitea30eb86e5a370fb8cb94e352e075e24d940d159
treeb6bb3c99522e37ff8fa595dcc83b112860c016a9
parenta71516dfd1858f37712ef52a288bf5fb274383e0
nss-util: be a tiny bit more compatible with glibc's lookup behaviour regarding IPv6

Check for RES_USE_INET6 before we prefer IPv6 over IPv4, for all our NSS
modules. (Not that the DNS resolver that is configured with this matters
to us, but hey, let's try to be compatible).
src/shared/nss-util.h