summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobi Oetiker <tobi@oetiker.ch>2008-02-25 11:23:24 +0100
committerTobi Oetiker <tobi@oetiker.ch>2008-02-25 11:23:24 +0100
commit0ec3c991d771c0856a39f60824849f58680987c0 (patch)
treecc45fac058672a825c8601be6ab32539e7ed5dfb
parentbc22f15ad9322086da631f7bb0854c2a0d2e5424 (diff)
downloadsmokeping-0ec3c991d771c0856a39f60824849f58680987c0.tar.gz
smokeping-0ec3c991d771c0856a39f60824849f58680987c0.tar.xz
make navigator work for nomaster poll
-rw-r--r--lib/Smokeping.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Smokeping.pm b/lib/Smokeping.pm
index c903822..f6f5b3d 100644
--- a/lib/Smokeping.pm
+++ b/lib/Smokeping.pm
@@ -973,7 +973,7 @@ sub get_detail ($$$$;$){
$tree = $phys_tree;
my @slaves;
- if (not $tree->{nomasterpoll} or $tree->{nomasterpoll} eq 'no'){
+ if (not $tree->{nomasterpoll} or $tree->{nomasterpoll} eq 'no' or $mode eq 'a' or $mode eq 'n'){
@slaves = ("");
};