Fix precedence for IP V4-to-V6 mapped addresses.
authordrepper <drepper>
Sat, 15 Apr 2006 21:40:29 +0000 (21:40 +0000)
committerdrepper <drepper>
Sat, 15 Apr 2006 21:40:29 +0000 (21:40 +0000)
sysdeps/posix/getaddrinfo.c

index 37f7fa0..636ab74 100644 (file)
@@ -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 }