summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobi Oetiker <tobi@oetiker.ch>2007-09-16 17:24:22 +0200
committerTobi Oetiker <tobi@oetiker.ch>2007-09-16 17:24:22 +0200
commitcc8921fdf54244edad3895514a3c9c80ca2f563f (patch)
treef14f63be03443b674d8e3b30c089fb475642a119
parentb5b7c0f2dc7420cb4c322f571ae16743bd621b39 (diff)
downloadsmokeping-cc8921fdf54244edad3895514a3c9c80ca2f563f.tar.gz
smokeping-cc8921fdf54244edad3895514a3c9c80ca2f563f.tar.xz
oops the tree points right at the node and not at its parent ... -- tobi
-rw-r--r--lib/Smokeping.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Smokeping.pm b/lib/Smokeping.pm
index 05ace24..4630c65 100644
--- a/lib/Smokeping.pm
+++ b/lib/Smokeping.pm
@@ -700,8 +700,8 @@ sub get_overview ($$$$){
$tree_path[-1]= $host;
my $tree = get_tree($cfg,\@tree_path);
# not all multihost entries must have the same number of pings
- $probe = $probes->{$tree->{$prop}{probe}};
- $pings = $probe->_pings($tree->{$prop});
+ $probe = $probes->{$tree->{probe}};
+ $pings = $probe->_pings($tree);
$label = $tree->{menu};
# if there are multiple units ... lets say so ...
if ($ProbeUnit ne $probe->ProbeUnit()){