From cc8921fdf54244edad3895514a3c9c80ca2f563f Mon Sep 17 00:00:00 2001 From: Tobi Oetiker Date: Sun, 16 Sep 2007 15:24:22 +0000 Subject: oops the tree points right at the node and not at its parent ... -- tobi --- lib/Smokeping.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') 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()){ -- cgit v1.2.3-24-g4f1b