From 7e10ce2db865158e1c3216214ff18c2997160345 Mon Sep 17 00:00:00 2001 From: Tobi Oetiker Date: Wed, 2 May 2007 16:14:07 +0000 Subject: fix scaling of detail graphs --- lib/Smokeping.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/Smokeping.pm') diff --git a/lib/Smokeping.pm b/lib/Smokeping.pm index cba2894..33b5e82 100644 --- a/lib/Smokeping.pm +++ b/lib/Smokeping.pm @@ -686,7 +686,8 @@ sub findmax ($$) { } $maxmedian{$x} = $cfg->{Presentation}{detail}{max_rtt} - if $cfg->{Presentation}{detail}{max_rtt} + if $cfg->{Presentation}{detail}{max_rtt} + and $maxmedian{$x} > $cfg->{Presentation}{detail}{max_rtt} }; return \%maxmedian; } -- cgit v1.2.3-24-g4f1b