summary refs log tree commit diff
path: root/resolv/res_debug.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-01-15 09:46:50 +0000
committerUlrich Drepper <drepper@redhat.com>2004-01-15 09:46:50 +0000
commitee778b56b7de06512c2539184f6a256b4efff848 (patch)
tree3f0a7f5e9f5d85d72391f3bf7950c799c21e674a /resolv/res_debug.c
parent392a6b52656c1bb40305375b0ea9020455044f9d (diff)
downloadglibc-ee778b56b7de06512c2539184f6a256b4efff848.tar.gz
glibc-ee778b56b7de06512c2539184f6a256b4efff848.tar.xz
glibc-ee778b56b7de06512c2539184f6a256b4efff848.zip
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.
Diffstat (limited to 'resolv/res_debug.c')
-rw-r--r--resolv/res_debug.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/resolv/res_debug.c b/resolv/res_debug.c
index 7887dc26a0..bd1fd3388f 100644
--- a/resolv/res_debug.c
+++ b/resolv/res_debug.c
@@ -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);