diff --git a/ChangeLog b/ChangeLog index cc73563..334e9d5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,10 +2,11 @@ UNRELEAESD David Schweikert * Version 3.3rc1 * Do not output icmp errors with -q (#1) * Add --enable-ipv4 and --enable-ipv6 options to configure (Niclas Zeising) - * Convert man-page source to POD for easier maintenance + * Fix removing of unreachable hosts when doing loop (Thomas Liske, #13 #23) * Set default data size to 56 bytes on all architectures (#18) * Added contrib/fping.spec (Stephen Schaefer, #24) - * Man-page fix: TOS option typo (Thomas Liske) + * Convert man-page source to POD for easier maintenance + * Man-page fix: TOS option typo (Thomas Liske, #23) * Man-page fix: inconsistency in regards to numeric arguments (Robert Henney) * Man-page fix: better description of option -q (#15) diff --git a/src/fping.c b/src/fping.c index 32510cb..0b675e5 100644 --- a/src/fping.c +++ b/src/fping.c @@ -1588,10 +1588,11 @@ int send_ping( int s, HOST_ENTRY *h ) }/* IF */ - num_unreachable++; - remove_job( h ); + h->num_sent++; + h->num_sent_i++; + num_pingsent++; free( buffer ); - return(0); + return(1); } /* mark this trial as outstanding */