summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/Smokeping/probes/FPing.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Smokeping/probes/FPing.pm b/lib/Smokeping/probes/FPing.pm
index 1b44c51..e7d2a4c 100644
--- a/lib/Smokeping/probes/FPing.pm
+++ b/lib/Smokeping/probes/FPing.pm
@@ -117,7 +117,8 @@ sub ping ($){
$self->{rtts}={};
while (<$errh>){
chomp;
- next unless /^\S+\s+:\s+[\d\.]/; #filter out error messages from fping
+ $self->do_debug("Got fping output: '$_'");
+ next unless /^\S+\s+:\s+[-\d\.]/; #filter out error messages from fping
my @times = split /\s+/;
my $ip = shift @times;
next unless ':' eq shift @times; #drop the colon