File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -38,6 +38,8 @@ fping 5.5-rc1 (2025-12-21)
3838- Fix debug build use of dbg_printf in fping.c (#415 , thanks @auerswal )
3939- Remove MacOS-specific test for -I option (#407 )
4040- GitHub Actions fixes (thanks @gsnw-sebast )
41+ - Fix measurement of time for timed reports (-Q) to start after DNS name
42+ resolution.
4143
4244fping 5.4 (2025-04-19)
4345======================
Original file line number Diff line number Diff line change @@ -1434,6 +1434,10 @@ int main(int argc, char **argv)
14341434#endif
14351435 setlinebuf (stdout );
14361436
1437+ // Last time we updated current_time_ns was before adding the hosts and
1438+ // possibly doing DNS resolution, which means that it isn't accurate
1439+ // anymore.
1440+ update_current_time ();
14371441 if (report_interval ) {
14381442 next_report_time = current_time_ns + report_interval ;
14391443 }
You can’t perform that action at this time.
0 commit comments