From ec255a97a22c0b46c111ff0f10be2beb9b5d9224 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Thu, 16 May 2019 17:23:23 +0200 Subject: nss_nis, nss_nisplus: Remove RES_USE_INET6 handling Since commit 3f8b44be0a658266adff5ece1e4bc3ce097a5dbe ("resolv: Remove support for RES_USE_INET6 and the inet6 option"), res_use_inet6 () always evaluates to false. --- ChangeLog | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 74f038ec36..cb020262d9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,36 @@ +2019-05-16 Florian Weimer + + * nis/nss_nis/nis-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL): Remove + flags argument. + (LINE_PARSER): Do not map IPv4 addresses. + (internal_nis_gethostent_r): Remove flags argument. Adjust call + to parse_line. + (_nss_nis_gethostent_r): Always pass AF_INET to + internal_nis_gethostent_r. + (internal_gethostbyname2_r): Remove flags argument. Adjust call + to parse_line. + (_nss_nis_gethostbyname2_r): Adjust call to + internal_nis_gethostent_r. + (_nss_nis_gethostbyname_r): Do not attempt IPv6 query. Adjust + call to internal_nis_gethostent_r. + (_nss_nis_gethostbyaddr_r): Do not request IPv4 address mapping + from parse_line. + (_nss_nis_gethostbyname4_r):Adjust call to parse_line. + * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_parse_hostent): + Remove flags argument. Do not map IPv4 addresses. + (internal_nisplus_gethostent_r): Adjust call to + _nss_nisplus_parse_hostent. + (internal_gethostbyname2_r): Remove flags argument. Adjust call + to _nss_nisplus_parse_hostent. + (_nss_nisplus_gethostbyname2_r): Adjust call to + internal_gethostbyname2_r. + (_nss_nisplus_gethostbyname_r): Do not perform IPv6 lookup. + Adjust call to internal_gethostbyname2_r. + (_nss_nisplus_gethostbyaddr_r): Adjust call to + _nss_nisplus_parse_hostent. + (_nss_nisplus_gethostbyname4_r): Adjust call to + internal_gethostbyname2_r. + 2019-05-16 Florian Weimer * nss/nss_files/files-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL): -- cgit 1.4.1