Skip to content

Commit

Permalink
Update OpenSSHJunOSPing.pm
Browse files Browse the repository at this point in the history
  • Loading branch information
fgtb committed May 9, 2016
1 parent 7ca84ed commit 52976ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Smokeping/probes/OpenSSHJunOSPing.pm
Expand Up @@ -124,7 +124,7 @@ sub pingone ($$){
my @times = ();
for (@output){
chomp;
/^\d+ bytes from $dest: icmp_seq=\d+ ttl=\d+ time=(\d+\.\d+) ms$/ and push @times,$1;
/^\d+ bytes from \S+: icmp_seq=\d+ ttl=\d+ time=(\d+\.\d+) ms$/ and push @times,$1;
}
@times = map {sprintf "%.10e", $_ / $self->{pingfactor}} sort {$a <=> $b} @times;
return @times;
Expand Down

0 comments on commit 52976ea

Please sign in to comment.