diff options
author | Niko Tyni <ntyni@iki.fi> | 2007-10-27 14:05:57 +0200 |
---|---|---|
committer | Niko Tyni <ntyni@iki.fi> | 2007-10-27 14:05:57 +0200 |
commit | 51243891b9e493882c59e582c5188f48e1127bed (patch) | |
tree | c7c0b4d1ca1686f13d3ebb71b050d5c4e9155f23 /lib/Smokeping/probes/FPing.pm | |
parent | 15ce7b9d28dda1afb6b892c1e2a34e057f3fdb60 (diff) | |
download | smokeping-51243891b9e493882c59e582c5188f48e1127bed.tar.gz smokeping-51243891b9e493882c59e582c5188f48e1127bed.tar.xz |
count the rounds when pinging, needed for smarter logging
Diffstat (limited to 'lib/Smokeping/probes/FPing.pm')
-rw-r--r-- | lib/Smokeping/probes/FPing.pm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Smokeping/probes/FPing.pm b/lib/Smokeping/probes/FPing.pm index 32e0735..c6cb9bc 100644 --- a/lib/Smokeping/probes/FPing.pm +++ b/lib/Smokeping/probes/FPing.pm @@ -100,6 +100,10 @@ sub testhost { sub ping ($){ my $self = shift; # do NOT call superclass ... the ping method MUST be overwriten + + # increment the internal 'rounds' counter + $self->increment_rounds_count; + my %upd; my $inh = gensym; my $outh = gensym; |