From ed89ca2a7173da7ec19f207be121e40df14f051b Mon Sep 17 00:00:00 2001 From: Niko Tyni Date: Sat, 14 Apr 2007 18:11:50 +0000 Subject: r1046@rispa: niko | 2007-04-14 11:44:40 +0300 fix documentation --- lib/Smokeping/probes/EchoPingDNS.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 => { -- cgit v1.2.3-24-g4f1b