diff options
author | Jeff Law <law@redhat.com> | 2012-09-28 10:15:05 -0600 |
---|---|---|
committer | Jeff Law <law@redhat.com> | 2012-09-28 10:15:05 -0600 |
commit | 115411772b189e9e41a97618816edd66f0a9a620 (patch) | |
tree | 9b369d4cf5223eb0b4a855381d0ae37f4964b129 /sysdeps | |
parent | 8cf6a02e77b49f24640d6c255e6148d941314f06 (diff) | |
download | glibc-115411772b189e9e41a97618816edd66f0a9a620.tar.gz glibc-115411772b189e9e41a97618816edd66f0a9a620.tar.xz glibc-115411772b189e9e41a97618816edd66f0a9a620.zip |
[BZ #11438]
* sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 * addresses to global scope. * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16 addresses are in the same scope as 192.0.2/24. * posix/gai.conf: Document new scope table defaults.
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/posix/getaddrinfo.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sysdeps/posix/getaddrinfo.c b/sysdeps/posix/getaddrinfo.c index 05883bd55f..672571ef23 100644 --- a/sysdeps/posix/getaddrinfo.c +++ b/sysdeps/posix/getaddrinfo.c @@ -1369,10 +1369,6 @@ static const struct scopeentry /* Link-local addresses: scope 2. */ { { { 169, 254, 0, 0 } }, htonl_c (0xffff0000), 2 }, { { { 127, 0, 0, 0 } }, htonl_c (0xff000000), 2 }, - /* Site-local addresses: scope 5. */ - { { { 10, 0, 0, 0 } }, htonl_c (0xff000000), 5 }, - { { { 172, 16, 0, 0 } }, htonl_c (0xfff00000), 5 }, - { { { 192, 168, 0, 0 } }, htonl_c (0xffff0000), 5 }, /* Default: scope 14. */ { { { 0, 0, 0, 0 } }, htonl_c (0x00000000), 14 } }; |