Skip to content

Commit

Permalink
Update.
Browse files Browse the repository at this point in the history
2004-11-09  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/unix/sysv/linux/ifaddrs.c: Determine sin6_scope_id field
	value correctly.
  • Loading branch information
Ulrich Drepper committed Nov 10, 2004
1 parent 948603e commit 5d79df5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
2004-11-09 Ulrich Drepper <drepper@redhat.com>

* sysdeps/unix/sysv/linux/ifaddrs.c: Determine sin6_scope_id field
value correctly.

2004-11-04 Jakub Jelinek <jakub@redhat.com>

* libio/fileops.c (_IO_new_file_seekoff): If mode is 0 and
Expand Down
6 changes: 3 additions & 3 deletions sysdeps/unix/sysv/linux/ifaddrs.c
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,7 @@ getifaddrs (struct ifaddrs **ifap)
if (IN6_IS_ADDR_LINKLOCAL (rta_data)
|| IN6_IS_ADDR_MC_LINKLOCAL (rta_data))
((struct sockaddr_in6 *) sa)->sin6_scope_id
= ifam->ifa_scope;
= ifam->ifa_index;
}
break;

Expand Down Expand Up @@ -613,7 +613,7 @@ getifaddrs (struct ifaddrs **ifap)
if (IN6_IS_ADDR_LINKLOCAL (rta_data) ||
IN6_IS_ADDR_MC_LINKLOCAL (rta_data))
ifas[ifa_index].addr.s6.sin6_scope_id =
ifam->ifa_scope;
ifam->ifa_index;
}
break;

Expand Down Expand Up @@ -654,7 +654,7 @@ getifaddrs (struct ifaddrs **ifap)
if (IN6_IS_ADDR_LINKLOCAL (rta_data)
|| IN6_IS_ADDR_MC_LINKLOCAL (rta_data))
ifas[ifa_index].broadaddr.s6.sin6_scope_id
= ifam->ifa_scope;
= ifam->ifa_index;
}
break;

Expand Down

0 comments on commit 5d79df5

Please sign in to comment.