mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-22 10:50:07 +00:00
Update.
2000-11-09 Ulrich Drepper <drepper@redhat.com> * inet/getnameinfo.c (getnameinfo): Use correct destination parameter for if_indextoname. Patch by Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>.
This commit is contained in:
parent
920e11e91b
commit
5804f16c54
@ -1,3 +1,9 @@
|
|||||||
|
2000-11-09 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
|
* inet/getnameinfo.c (getnameinfo): Use correct destination
|
||||||
|
parameter for if_indextoname.
|
||||||
|
Patch by Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>.
|
||||||
|
|
||||||
2000-11-09 H.J. Lu <hjl@gnu.org>
|
2000-11-09 H.J. Lu <hjl@gnu.org>
|
||||||
|
|
||||||
* sunrpc/Versions (GLIBC_2.1): Remove xdr_cryptkeyarg,
|
* sunrpc/Versions (GLIBC_2.1): Remove xdr_cryptkeyarg,
|
||||||
|
@ -312,7 +312,7 @@ getnameinfo (const struct sockaddr *sa, socklen_t addrlen, char *host,
|
|||||||
if (IN6_IS_ADDR_LINKLOCAL (&sin6p->sin6_addr)
|
if (IN6_IS_ADDR_LINKLOCAL (&sin6p->sin6_addr)
|
||||||
|| IN6_IS_ADDR_MC_LINKLOCAL (&sin6p->sin6_addr))
|
|| IN6_IS_ADDR_MC_LINKLOCAL (&sin6p->sin6_addr))
|
||||||
{
|
{
|
||||||
if (if_indextoname (scopeid, scopebuf) == NULL)
|
if (if_indextoname (scopeid, scopeptr) == NULL)
|
||||||
++ni_numericscope;
|
++ni_numericscope;
|
||||||
else
|
else
|
||||||
scopelen = strlen (scopebuf);
|
scopelen = strlen (scopebuf);
|
||||||
|
Loading…
Reference in New Issue
Block a user