about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/check_pf.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2006-04-18 23:35:12 +0000
committerUlrich Drepper <drepper@redhat.com>2006-04-18 23:35:12 +0000
commit786dcb6287b61bbd5ebb905cbc5b1496b927d7b8 (patch)
tree42e8080d0061c074b07d443ca3a28380d3dda47e /sysdeps/unix/sysv/linux/check_pf.c
parent3af48b5b3106e1bb1de4efcabb86cd1fafdff8af (diff)
downloadglibc-786dcb6287b61bbd5ebb905cbc5b1496b927d7b8.tar.gz
glibc-786dcb6287b61bbd5ebb905cbc5b1496b927d7b8.tar.xz
glibc-786dcb6287b61bbd5ebb905cbc5b1496b927d7b8.zip
* 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/check_pf.c')
-rw-r--r--sysdeps/unix/sysv/linux/check_pf.c4
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 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;