aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/Smokeping/probes/FPingContinuous.pm11
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/Smokeping/probes/FPingContinuous.pm b/lib/Smokeping/probes/FPingContinuous.pm
index 47e8b7b..958df9b 100644
--- a/lib/Smokeping/probes/FPingContinuous.pm
+++ b/lib/Smokeping/probes/FPingContinuous.pm
@@ -227,6 +227,17 @@ sub run_pinger {
# We can forget about any assumed drops since we have handles actual packet loss above
$results{$address}{assumed_drops}=0;
+ } elsif($data =~ /(\S+)\s+:\s+\[(\d+)\], timed out/) {
+ my $address=$1;
+ my $this_seq=$2;
+
+ push @{$results{$address}{results}}, "-";
+
+ # Update the sequence number
+ $results{$address}{reply_seq}=$this_seq;
+
+ # Ignoring assumed_drops because hitting this code path would mean
+ # fping reports all drops
} else {
# We only care about input from either stdin or stderr. We need to
# clear data from both to avoid deadlocks, but we only want to log