Fix fping hanging forever on permanent sendto failure (Shawn Chu, #52)

pull/67/head
David Schweikert 11 years ago
parent e1cdf8e1d3
commit d141744adb

@ -2,6 +2,7 @@ UNRELEASED
* Allow running as non-root on Mac OS X by using non-privileged ICMP (#7) * Allow running as non-root on Mac OS X by using non-privileged ICMP (#7)
* Remove unnecessary IPv6 socket options * Remove unnecessary IPv6 socket options
* Fix again compatibility issue with FreeBSD (Shawn Chu) * Fix again compatibility issue with FreeBSD (Shawn Chu)
* Fix fping hanging forever on permanent sendto failure (Shawn Chu)
2013-10-10 David Schweikert <david@schweikert.ch> 2013-10-10 David Schweikert <david@schweikert.ch>
* Version 3.6 * Version 3.6

@ -1464,7 +1464,9 @@ int send_ping( int s, HOST_ENTRY *h )
h->num_sent++; h->num_sent++;
h->num_sent_i++; h->num_sent_i++;
h->waiting++;
num_pingsent++; num_pingsent++;
last_send_time = h->last_send_time;
free( buffer ); free( buffer );
return(1); return(1);
} }

Loading…
Cancel
Save