Compare commits

2 Commits
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -1,3 +1,8 @@
2013-11-08 David Schweikert <david@schweikert.ch>
* Version 3.8
* Fix segmentation fault introduced in version 3.7 with loop mode (reported
by Vlad Glagolev, #55)
2013-11-04 David Schweikert <david@schweikert.ch>
* Version 3.7
* Allow running as non-root on Mac OS X by using non-privileged ICMP (#7)
+1 -1
View File
@@ -1604,7 +1604,7 @@ int wait_for_reply(long wait_time)
this_count = seqmap_value->ping_count;
this_reply = timeval_diff( &current_time, sent_time );
if( h->resp_times[this_count] == RESP_WAITING )
if( loop_flag || h->resp_times[this_count] == RESP_WAITING )
{
/* only for non-duplicates: */
h->waiting = 0;