about summary refs log tree commit diff
path: root/resolv/resolv.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-06-28 01:30:07 +0000
committerUlrich Drepper <drepper@redhat.com>2004-06-28 01:30:07 +0000
commit340ef046a6b7e10b112e387f453bc78348c04745 (patch)
tree33d7ae6c8a8d964395145a8cb55d5a11772cfb1a /resolv/resolv.h
parentf2481c319d604a9d797df6147ec6d3010861e4a4 (diff)
downloadglibc-340ef046a6b7e10b112e387f453bc78348c04745.tar.gz
glibc-340ef046a6b7e10b112e387f453bc78348c04745.tar.xz
glibc-340ef046a6b7e10b112e387f453bc78348c04745.zip
Update.
2004-06-27  Ulrich Drepper  <drepper@redhat.com>

	* resolv/resolv.h (RES_NOIP6DOTINT): Define.
	* resolv/res_init.c (res_setoptions): Handle no-ip6-dotint option.
	* resolv/gethnamaddr.c (gethostbyaddr): Don't lookup with .ip6.int
	if RES_NOIP6DOTINT flag is set.
	* resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
Diffstat (limited to 'resolv/resolv.h')
-rw-r--r--resolv/resolv.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/resolv/resolv.h b/resolv/resolv.h
index 8d37d420e0..010d7dd897 100644
--- a/resolv/resolv.h
+++ b/resolv/resolv.h
@@ -201,6 +201,8 @@ struct res_sym {
 #define	RES_BLAST	0x00020000	/* blast all recursive servers */
 #define RES_USEBSTRING	0x00040000	/* IPv6 reverse lookup with byte
 					   strings */
+#define RES_NOIP6DOTINT	0x00080000	/* Do not use .ip6.int in IPv6
+					   reverse lookup */
 
 #define RES_DEFAULT	(RES_RECURSE | RES_DEFNAMES | RES_DNSRCH)