From e1cdf8e1d33a1b797d13e98fa96f133bd1a54c19 Mon Sep 17 00:00:00 2001 From: David Schweikert Date: Mon, 4 Nov 2013 23:04:00 +0100 Subject: [PATCH] Fix again compatibility issue with FreeBSD (Shawn Chu) --- ChangeLog | 1 + src/fping.c | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index fe926b3..a4dc662 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,7 @@ UNRELEASED * Allow running as non-root on Mac OS X by using non-privileged ICMP (#7) * Remove unnecessary IPv6 socket options + * Fix again compatibility issue with FreeBSD (Shawn Chu) 2013-10-10 David Schweikert * Version 3.6 diff --git a/src/fping.c b/src/fping.c index 47b3bb4..7022a8f 100644 --- a/src/fping.c +++ b/src/fping.c @@ -1446,7 +1446,6 @@ int send_ping( int s, HOST_ENTRY *h ) n = sendto( s, buffer, ping_pkt_size, 0, ( struct sockaddr* )&h->saddr, sizeof( FPING_SOCKADDR ) ); - if( n < 0 || n != ping_pkt_size ) if( (n < 0 || n != ping_pkt_size) #if defined( EHOSTDOWN ) -- 2.43.0