Skip to content

Commit

Permalink
* sysdeps/unix/sysv/linux/check_pf.c (make_request): Fix
Browse files Browse the repository at this point in the history
	recognition of interface family.
  • Loading branch information
Ulrich Drepper committed Jan 3, 2008
1 parent f4a1363 commit ad58687
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
4 changes: 2 additions & 2 deletions sysdeps/unix/sysv/linux/check_pf.c
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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))
Expand Down

0 comments on commit ad58687

Please sign in to comment.