@ -8,7 +8,7 @@ UNRELEASED
* (bugfix) Fix issue compliling on RHEL/Centos 7 (#95, @jbackman)
* (bugfix) Lower -i limit to 1 instead of 10
* (bugfix) Improve interval preciseness of -Q reporting
* (bugfix) Fix occasional false positive in interval reporting (#97)
* (bugfix) Fix occasional false positive in -Q reporting (#97)
2015-10-21 David Schweikert <david@schweikert.ch>
* Version 3.13
@ -1323,8 +1323,12 @@ void print_netdata( void )
}
/* if we just sent the probe and didn't receive a reply, we shouldn't count it */
h->discard_next_recv_i=0;
if( h->waiting && timeval_diff(¤t_time, &h->last_send_time) < h->timeout) {
if(h->num_sent_i) h->num_sent_i--;
if(h->num_sent_i) {
h->num_sent_i--;
h->discard_next_recv_i=1;