This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] nss_nis, nss_nisplus: Remove RES_USE_INET6 handling
- From: Andreas Schwab <schwab at suse dot de>
- To: Florian Weimer <fweimer at redhat dot com>
- Cc: libc-alpha at sourceware dot org
- Date: Thu, 16 May 2019 17:42:54 +0200
- Subject: Re: [PATCH] nss_nis, nss_nisplus: Remove RES_USE_INET6 handling
- References: <87v9yas9gy.fsf@oldenburg2.str.redhat.com>
On Mai 16 2019, Florian Weimer <fweimer@redhat.com> wrote:
> * 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.
Ok.
Andreas.
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."