mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-23 03:10:05 +00:00
* posix/gai.conf: Fix comment for scope nullbits.
* sysdeps/posix/getaddrinfo.c (gaiconf_init): If /bits is not present, default to 128 bits for v4 mapped addresses.
This commit is contained in:
parent
c28175ecce
commit
fde15fdc5b
@ -1,3 +1,9 @@
|
||||
2008-03-25 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* posix/gai.conf: Fix comment for scope nullbits.
|
||||
* sysdeps/posix/getaddrinfo.c (gaiconf_init): If /bits is not present,
|
||||
default to 128 bits for v4 mapped addresses.
|
||||
|
||||
2008-03-07 Martin Schwidefsky <schwidefsky@de.ibm.com>
|
||||
|
||||
* sysdeps/s390/fpu/fegetenv.c (fegetenv): Remove PTRACE_PEEKUSER
|
||||
|
@ -1775,6 +1775,7 @@ gaiconf_init (void)
|
||||
*cp++ = '\0';
|
||||
if (inet_pton (AF_INET6, val1, &prefix))
|
||||
{
|
||||
bits = 128;
|
||||
if (IN6_IS_ADDR_V4MAPPED (&prefix)
|
||||
&& (cp == NULL
|
||||
|| (bits = strtoul (cp, &endp, 10)) != ULONG_MAX
|
||||
|
Loading…
Reference in New Issue
Block a user