summaryrefslogtreecommitdiffstats
path: root/lib/Smokeping/probes/EchoPingDNS.pm
diff options
context:
space:
mode:
authorNiko Tyni <ntyni@iki.fi>2007-04-14 20:11:50 +0200
committerNiko Tyni <ntyni@iki.fi>2007-04-14 20:11:50 +0200
commited89ca2a7173da7ec19f207be121e40df14f051b (patch)
tree464f0b5ae3f0ac7ed02b5b90e7fae249d8c4beeb /lib/Smokeping/probes/EchoPingDNS.pm
parenta014a07efb6b9ec156de0e8d49b9630c08ac6bc7 (diff)
downloadsmokeping-ed89ca2a7173da7ec19f207be121e40df14f051b.tar.gz
smokeping-ed89ca2a7173da7ec19f207be121e40df14f051b.tar.xz
r1046@rispa: niko | 2007-04-14 11:44:40 +0300
fix documentation
Diffstat (limited to 'lib/Smokeping/probes/EchoPingDNS.pm')
-rw-r--r--lib/Smokeping/probes/EchoPingDNS.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/Smokeping/probes/EchoPingDNS.pm b/lib/Smokeping/probes/EchoPingDNS.pm
index dc22f17..f710988 100644
--- a/lib/Smokeping/probes/EchoPingDNS.pm
+++ b/lib/Smokeping/probes/EchoPingDNS.pm
@@ -74,7 +74,9 @@ sub targetvars {
delete $h->{udp};
delete $h->{fill};
delete $h->{size};
- $h->{plugin}{default} = 'dns';
+ $h->{_mandatory} = [ grep { $_ ne "plugin" } @{$h->{_mandatory}}];
+ $h->{plugin}{_default} = 'dns';
+ $h->{plugin}{_example} = '/path/to/dns.so';
return $class->_makevars($h, {
_mandatory => [ 'dns_request' ],
dns_request => {