diff options
author | Ulrich Drepper <drepper@redhat.com> | 2006-04-18 23:35:12 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2006-04-18 23:35:12 +0000 |
commit | 786dcb6287b61bbd5ebb905cbc5b1496b927d7b8 (patch) | |
tree | 42e8080d0061c074b07d443ca3a28380d3dda47e /sysdeps/unix/sysv/linux | |
parent | 3af48b5b3106e1bb1de4efcabb86cd1fafdff8af (diff) | |
download | glibc-786dcb6287b61bbd5ebb905cbc5b1496b927d7b8.zip glibc-786dcb6287b61bbd5ebb905cbc5b1496b927d7b8.tar.gz glibc-786dcb6287b61bbd5ebb905cbc5b1496b927d7b8.tar.bz2 |
* sysdeps/posix/getaddrinfo.c (getaddrinfo): Rewrite to avoid loop
over gaih array. There is only on function to call in the moment.
Diffstat (limited to 'sysdeps/unix/sysv/linux')
-rw-r--r-- | sysdeps/unix/sysv/linux/check_pf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/check_pf.c b/sysdeps/unix/sysv/linux/check_pf.c index 75b7dd0..f186182 100644 --- a/sysdeps/unix/sysv/linux/check_pf.c +++ b/sysdeps/unix/sysv/linux/check_pf.c @@ -131,7 +131,7 @@ make_request (int fd, pid_t pid, bool *seen_ipv4, bool *seen_ipv6, break; case IFA_ADDRESS: - address = RTA_DATA (ta); + address = RTA_DATA (rta); break; } @@ -147,7 +147,7 @@ make_request (int fd, pid_t pid, bool *seen_ipv4, bool *seen_ipv6, memcpy (newp->info.addr, address ?: local, sizeof (newp->info.addr)); newp->next = in6ailist; - in6ailsit = newp; + in6ailist = newp; ++in6ailistlen; } break; |