Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactored event loop, now for each ping create both next-ping+timeout events #193

Merged
merged 1 commit into from
Jul 26, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,19 @@ fping 5.0 (unreleased)

## New features

- Refactored event loop, now allowing for period (-p) to be smaller than
timeout (-t). The number of sent pings is now only incremented when the
response is received or when the timeout happens, so that the loss statistic
is always correct (especially important when using interval statistics (-Q)
(#193).
- Improved precision of measurements from 10us to 1us (#136, thanks @tycho)


fping 4.4 (2020-07-24)
======================
## Bugfixes and other changes

- Fix wrong ident used for normal (non-unprivileged) pings (#191, thanks @tycho)
- Fix build with --disable-ipv6 (#187, thanks Polynomial-C)

fping 4.3 (2020-07-11)
Expand Down
3 changes: 1 addition & 2 deletions ci/test-02-help.pl
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@
# fping -v
my $cmd2 = Test::Command->new(cmd => "fping -v");
$cmd2->exit_is_num(0);
$cmd2->stdout_like(qr{fping: Version \S+
fping: comments to david\@schweikert\.ch\n});
$cmd2->stdout_like(qr{fping: Version \S+});
$cmd2->stderr_is_eq("");

# fping with unknown option
Expand Down
4 changes: 1 addition & 3 deletions ci/test-10-option-u-x.pl
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@
{
my $cmd = Test::Command->new(cmd => "fping -v");
$cmd->exit_is_num(0);
$cmd->stdout_like(qr{ping: Version [45]\.\d+(-rc\d+)?
fping: comments to david\@schweikert\.ch
});
$cmd->stdout_like(qr{ping: Version [45]\.\d+(-rc\d+)?});
$cmd->stderr_is_eq("");
}

Expand Down
Loading