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>
|
||||
|
||||
* 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)
|
||||
|| IN6_IS_ADDR_MC_LINKLOCAL (&sin6p->sin6_addr))
|
||||
{
|
||||
if (if_indextoname (scopeid, scopebuf) == NULL)
|
||||
if (if_indextoname (scopeid, scopeptr) == NULL)
|
||||
++ni_numericscope;
|
||||
else
|
||||
scopelen = strlen (scopebuf);
|
||||
|
Loading…
Reference in New Issue
Block a user