diff options
author | Ulrich Drepper <drepper@redhat.com> | 2008-01-03 00:25:03 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2008-01-03 00:25:03 +0000 |
commit | ad586879b1d5dff5825e934c69e0194abc0f982a (patch) | |
tree | ddc9b35ea3fef2947de02ae523fe139d9dd59d6b | |
parent | f4a1363eb34521b327929e1f66702cf11289fd4d (diff) | |
download | glibc-ad586879b1d5dff5825e934c69e0194abc0f982a.zip glibc-ad586879b1d5dff5825e934c69e0194abc0f982a.tar.gz glibc-ad586879b1d5dff5825e934c69e0194abc0f982a.tar.bz2 |
* sysdeps/unix/sysv/linux/check_pf.c (make_request): Fix
recognition of interface family.
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/check_pf.c | 4 |
2 files changed, 5 insertions, 2 deletions
@@ -1,5 +1,8 @@ 2008-01-02 Ulrich Drepper <drepper@redhat.com> + * sysdeps/unix/sysv/linux/check_pf.c (make_request): Fix + recognition of interface family. + * posix/getconf.c: Update copyright year. * nss/getent.c: Likewise. * iconv/iconvconfig.c: Likewise. diff --git a/sysdeps/unix/sysv/linux/check_pf.c b/sysdeps/unix/sysv/linux/check_pf.c index b7556ae..e694342 100644 --- a/sysdeps/unix/sysv/linux/check_pf.c +++ b/sysdeps/unix/sysv/linux/check_pf.c @@ -1,5 +1,5 @@ /* Determine protocol families for which interfaces exist. Linux version. - Copyright (C) 2003, 2006, 2007 Free Software Foundation, Inc. + Copyright (C) 2003, 2006, 2007, 2008 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -168,7 +168,7 @@ make_request (int fd, pid_t pid, bool *seen_ipv4, bool *seen_ipv6, { address = local; out: - if (ifam->ifa_family != AF_INET) + if (ifam->ifa_family == AF_INET) { if (*(const in_addr_t *) address != htonl (INADDR_LOOPBACK)) |