Update.
authorUlrich Drepper <drepper@redhat.com>
Tue, 28 Sep 2004 22:16:26 +0000 (22:16 +0000)
committerUlrich Drepper <drepper@redhat.com>
Tue, 28 Sep 2004 22:16:26 +0000 (22:16 +0000)
* sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.

ChangeLog
sunrpc/pmap_rmt.c

index 8d1815e..ccf33bf 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,7 @@
        * sunrpc/get_myaddr.c (get_myaddress): Fix test for failing
        getifaddrs call.
        * sunrpc/pmap_clnt.c (__get_myaddress): Likewise.
+       * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
 
        * malloc/arena.c (ptmalloc_init): Allow MALLOC_CHECK_==0 to
        disable all checking.
index e446f5e..4ff707a 100644 (file)
@@ -179,7 +179,7 @@ getbroadcastnets (struct in_addr *addrs, int naddrs)
 {
   struct ifaddrs *ifa;
 
-  if (getifaddrs (&ifa) == 0)
+  if (getifaddrs (&ifa) != 0)
     {
       perror ("broadcast: getifaddrs");
       return 0;