From 786dcb6287b61bbd5ebb905cbc5b1496b927d7b8 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 18 Apr 2006 23:35:12 +0000 Subject: * sysdeps/posix/getaddrinfo.c (getaddrinfo): Rewrite to avoid loop over gaih array. There is only on function to call in the moment. --- sysdeps/unix/sysv/linux/check_pf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sysdeps/unix/sysv/linux/check_pf.c') diff --git a/sysdeps/unix/sysv/linux/check_pf.c b/sysdeps/unix/sysv/linux/check_pf.c index 75b7dd0d82..f186182cf6 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; -- cgit v1.2.1