about summary refs log tree commit diff
path: root/sysdeps/posix
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2006-04-15 21:43:13 +0000
committerUlrich Drepper <drepper@redhat.com>2006-04-15 21:43:13 +0000
commita238728234a94cb8e8024e4718356ff808487a88 (patch)
treeb7c43445b25f6876bc1b4cac6458c4b45052b475 /sysdeps/posix
parent47ad422ffe8d3fd4e77edbe8c218d7faa59b4fda (diff)
downloadglibc-a238728234a94cb8e8024e4718356ff808487a88.tar.gz
glibc-a238728234a94cb8e8024e4718356ff808487a88.tar.xz
glibc-a238728234a94cb8e8024e4718356ff808487a88.zip
* sysdeps/posix/getaddrinfo.c: Fix precedence for IP V4-to-V6
	mapped addresses.
	* posix/Makefile (tests): Add tst-rfc3484-2.
	* posix/tst-rfc3484-2.c: New file.
Diffstat (limited to 'sysdeps/posix')
-rw-r--r--sysdeps/posix/getaddrinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/posix/getaddrinfo.c b/sysdeps/posix/getaddrinfo.c
index 37f7fa0bd2..636ab743d4 100644
--- a/sysdeps/posix/getaddrinfo.c
+++ b/sysdeps/posix/getaddrinfo.c
@@ -1199,7 +1199,7 @@ static const struct prefixlist default_precedence[] =
       96, 20 },
     { { .in6_u = { .u6_addr16 = { 0x0000, 0x0000, 0x0000, 0x0000,
 				  0x0000, 0xffff, 0x0000, 0x0000 } } },
-      96, 10 },
+      96, 100 },
     { { .in6_u = { .u6_addr16 = { 0x0000, 0x0000, 0x0000, 0x0000,
 				  0x0000, 0x0000, 0x0000, 0x0000 } } },
       0, 40 }