summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobi Oetiker <tobi@oetiker.ch>2005-05-11 21:48:55 +0200
committerTobi Oetiker <tobi@oetiker.ch>2005-05-11 21:48:55 +0200
commitef0a8b6b72eff929a9f6a414e16db33ec3fac07d (patch)
tree865bf692e70d8e0eab20055f5247400b7481fd4f
parent2e6ce403d18425cf4f32dd5fc2cbb6e94eae39ae (diff)
downloadsmokeping-ef0a8b6b72eff929a9f6a414e16db33ec3fac07d.tar.gz
smokeping-ef0a8b6b72eff929a9f6a414e16db33ec3fac07d.tar.xz
fix zooming
-rwxr-xr-xbin/smokeping.dist2
-rw-r--r--lib/Smokeping.pm4
2 files changed, 3 insertions, 3 deletions
diff --git a/bin/smokeping.dist b/bin/smokeping.dist
index a9d4504..8472a9d 100755
--- a/bin/smokeping.dist
+++ b/bin/smokeping.dist
@@ -42,7 +42,7 @@ B<smokeping> [ B<--email> | B<--makepod> | B<--version> | B<--restart> ]
--filter=x Only measure entries which pass the filter x
- --logfile Append warnings to this logfile
+ --logfile=x Append warnings to logfile x.
--static[=x] Generates a static website in directory x. If x is left out,
pagedir from the config is used.
diff --git a/lib/Smokeping.pm b/lib/Smokeping.pm
index 8015d25..caaeab0 100644
--- a/lib/Smokeping.pm
+++ b/lib/Smokeping.pm
@@ -930,7 +930,7 @@ sub get_detail ($$$$){
$endstr =~ s/\s/%20/g;
$page .= "<div>";
$page .= ( $ERROR ||
- qq{<a href="?displaymode=n;start=$startstr;end=$endstr;}."target=".$q->param('target').'">'
+ qq{<a href="?displaymode=n;start=$startstr;end=now;}."target=".$q->param('target').'">'
. qq{<IMG BORDER="0" WIDTH="$xs" HEIGHT="$ys" SRC="${imghref}_${end}_${start}.png">}."</a>" );
$page .= "</div>";
@@ -2132,7 +2132,7 @@ let the pattern match:
>10%,*10*,>10%
-will fire if more than 10% of the packets have been losst twice over the
+will fire if more than 10% of the packets have been lost at least twice over the
last 10 samples.
A complete example