summaryrefslogtreecommitdiffstats
path: root/lib/Smokeping
diff options
context:
space:
mode:
authorTobi Oetiker <tobi@oetiker.ch>2008-02-26 00:18:52 +0100
committerTobi Oetiker <tobi@oetiker.ch>2008-02-26 00:18:52 +0100
commit30f47a24f4ee7cd5f825ae9e14891920a6cd8bca (patch)
treead7934318e855a592453369e920996640f0d4d1c /lib/Smokeping
parent296d9bf573e5981407c85d35bc9e339d777321cb (diff)
downloadsmokeping-30f47a24f4ee7cd5f825ae9e14891920a6cd8bca.tar.gz
smokeping-30f47a24f4ee7cd5f825ae9e14891920a6cd8bca.tar.xz
slaves must poll even with nomasterpoll
Diffstat (limited to 'lib/Smokeping')
-rw-r--r--lib/Smokeping/Master.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Smokeping/Master.pm b/lib/Smokeping/Master.pm
index 95c7884..8560de3 100644
--- a/lib/Smokeping/Master.pm
+++ b/lib/Smokeping/Master.pm
@@ -47,7 +47,7 @@ sub get_targets {
$return{$key} = $trg->{$key};
}
}
- $trg->{nomasterpoll} = 'no'; # slaves poll always
+ $return{nomasterpoll} = 'no'; # slaves poll always
return ($ok ? \%return : undef);
}