diff options
author | Ulrich Drepper <drepper@redhat.com> | 2004-11-10 00:50:40 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2004-11-10 00:50:40 +0000 |
commit | b4ae56bdc8cdb6cd8a6650d4dabfc37df1005087 (patch) | |
tree | 40464e84e8dd9548ac42f53c9fc0ea1699905a28 /sysdeps/unix/sysv/linux/ifaddrs.c | |
parent | e00a2302820a3ef3565ceeb4c5990e0fe977f348 (diff) | |
download | glibc-b4ae56bdc8cdb6cd8a6650d4dabfc37df1005087.tar.gz glibc-b4ae56bdc8cdb6cd8a6650d4dabfc37df1005087.tar.xz glibc-b4ae56bdc8cdb6cd8a6650d4dabfc37df1005087.zip |
Update.
2004-11-09 Jakub Jelinek <jakub@redhat.com> * posix/regcomp.c (calc_eclosure_iter): Don't access dfa->edests[node].elems[0] if dfa->edests[node].nelem == 0. * posix/rxspencer/tests: Add 5 new tests.
Diffstat (limited to 'sysdeps/unix/sysv/linux/ifaddrs.c')
-rw-r--r-- | sysdeps/unix/sysv/linux/ifaddrs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/ifaddrs.c b/sysdeps/unix/sysv/linux/ifaddrs.c index 77f6159bf6..8a052e212d 100644 --- a/sysdeps/unix/sysv/linux/ifaddrs.c +++ b/sysdeps/unix/sysv/linux/ifaddrs.c @@ -610,8 +610,8 @@ getifaddrs (struct ifaddrs **ifap) { memcpy (&ifas[ifa_index].addr.s6.sin6_addr, rta_data, rta_payload); - if (IN6_IS_ADDR_LINKLOCAL (rta_data) || - IN6_IS_ADDR_MC_LINKLOCAL (rta_data)) + if (IN6_IS_ADDR_LINKLOCAL (rta_data) + || IN6_IS_ADDR_MC_LINKLOCAL (rta_data)) ifas[ifa_index].addr.s6.sin6_scope_id = ifam->ifa_index; } |