diff options
author | Tobi Oetiker <tobi@oetiker.ch> | 2008-02-25 11:23:24 +0100 |
---|---|---|
committer | Tobi Oetiker <tobi@oetiker.ch> | 2008-02-25 11:23:24 +0100 |
commit | 0ec3c991d771c0856a39f60824849f58680987c0 (patch) | |
tree | cc45fac058672a825c8601be6ab32539e7ed5dfb | |
parent | bc22f15ad9322086da631f7bb0854c2a0d2e5424 (diff) | |
download | smokeping-0ec3c991d771c0856a39f60824849f58680987c0.tar.gz smokeping-0ec3c991d771c0856a39f60824849f58680987c0.tar.xz |
make navigator work for nomaster poll
-rw-r--r-- | lib/Smokeping.pm | 2 |
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 = (""); }; |