mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-07 06:43:00 +03:00
Update.
2004-01-15 Ulrich Drepper <drepper@redhat.com> * resolv/resolv.h: Add RES_USEBSTRING. * resolv/res_debug.c (p_option): Add handling for RES_USE_INET6, RES_ROTATE, RES_NOCHECKNAME, and RES_USEBSTRING. * resolv/res_init.c (res_setioptions): Recognize ip6-bytestring. * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Only perform bytestring IPv6 lookup with RES_USEBSTRING option is selected. Otherwise use the two nibble formats.
This commit is contained in:
@@ -572,6 +572,10 @@ p_option(u_long option) {
|
||||
case RES_DNSRCH: return "dnsrch";
|
||||
case RES_INSECURE1: return "insecure1";
|
||||
case RES_INSECURE2: return "insecure2";
|
||||
case RES_USE_INET6: return "inet6";
|
||||
case RES_ROTATE: return "rotate";
|
||||
case RES_NOCHECKNAME: return "no-check-names";
|
||||
case RES_USEBSTRING: return "ip6-bytstring";
|
||||
/* XXX nonreentrant */
|
||||
default: sprintf(nbuf, "?0x%lx?", (u_long)option);
|
||||
return (nbuf);
|
||||
|
Reference in New Issue
Block a user