From ee78a2434ef77fdce97546aca173ebbd0391676a Mon Sep 17 00:00:00 2001 From: Niko Tyni Date: Sat, 14 Apr 2007 18:11:42 +0000 Subject: r1041@rispa: niko | 2007-04-14 08:14:10 +0300 targetvars skeleton --- lib/Smokeping/probes/EchoPingPlugin.pm | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'lib/Smokeping/probes') diff --git a/lib/Smokeping/probes/EchoPingPlugin.pm b/lib/Smokeping/probes/EchoPingPlugin.pm index e54c02b..36ca359 100644 --- a/lib/Smokeping/probes/EchoPingPlugin.pm +++ b/lib/Smokeping/probes/EchoPingPlugin.pm @@ -72,5 +72,14 @@ sub ProbeDesc($) { return "Pings using an echoping(1) plugin"; } +sub targetvars { + my $class = shift; + my $h = $class->SUPER::targetvars; + delete $h->{udp}; + delete $h->{fill}; + delete $h->{size}; + return $class->_makevars($h, { + }); +} 1; -- cgit v1.2.3-24-g4f1b