about summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-05-27 08:17:05 +0000
committerUlrich Drepper <drepper@redhat.com>2000-05-27 08:17:05 +0000
commitb455972fdaf438fec1ee1467fee5d29ee5569333 (patch)
treeffd9da46c9e37ffb1e14d7abd81b82854b4e11f3 /ChangeLog
parent9c42c64d305549cc74dd10739d1fc5de813abe31 (diff)
downloadglibc-b455972fdaf438fec1ee1467fee5d29ee5569333.tar.gz
glibc-b455972fdaf438fec1ee1467fee5d29ee5569333.tar.xz
glibc-b455972fdaf438fec1ee1467fee5d29ee5569333.zip
Update.
2000-05-27  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/posix/getaddrinfo.c (gaih_inet): If req->ai_family ==
	AF_UNSPEC don't allow the IPv6 lookup to return mapped IPv4 addresses.

	* nss/nss_files/files-hosts.c (LINE_PARSER): Simplify.  Correct
	handling of AI_V4MAPPED flag.

	* resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): If lookup
	of IPv6 address failed and RES_USE_INET6 bit in _res.options is set,
	perform lookup for T_A type and tell getanswer_r to convert the
	result with new argument.
	(_nss_dns_gethostbyaddr_r): Pass zero as new argument to getanswer_r.
	Don't convert addresses from IPv4 to IPv6 here.
	(getanswer_r): Take new parameter indicating if mapping from IPv4 to
	IPv6 is wanted.  Allow qtype and type from reply to disagree if
	IPv4 mapping has to be done.  Perform mappings if required by the
	caller and not if RES_USE_INET6 bit in _res.options is set.
	Add several __builtin_expect.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog20
1 files changed, 20 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 534068cca1..386b666504 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,23 @@
+2000-05-27  Ulrich Drepper  <drepper@redhat.com>
+
+	* sysdeps/posix/getaddrinfo.c (gaih_inet): If req->ai_family ==
+	AF_UNSPEC don't allow the IPv6 lookup to return mapped IPv4 addresses.
+
+	* nss/nss_files/files-hosts.c (LINE_PARSER): Simplify.  Correct
+	handling of AI_V4MAPPED flag.
+
+	* resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): If lookup
+	of IPv6 address failed and RES_USE_INET6 bit in _res.options is set,
+	perform lookup for T_A type and tell getanswer_r to convert the
+	result with new argument.
+	(_nss_dns_gethostbyaddr_r): Pass zero as new argument to getanswer_r.
+	Don't convert addresses from IPv4 to IPv6 here.
+	(getanswer_r): Take new parameter indicating if mapping from IPv4 to
+	IPv6 is wanted.  Allow qtype and type from reply to disagree if
+	IPv4 mapping has to be done.  Perform mappings if required by the
+	caller and not if RES_USE_INET6 bit in _res.options is set.
+	Add several __builtin_expect.
+
 2000-05-26  Ulrich Drepper  <drepper@redhat.com>
 
 	* catgets/open_catalog.c (__open_catalog): Add a few __builtin_expect.