summaryrefslogtreecommitdiffstats
path: root/lib/Smokeping/probes/EchoPing.pm
diff options
context:
space:
mode:
authorNiko Tyni <ntyni@iki.fi>2007-04-14 20:11:44 +0200
committerNiko Tyni <ntyni@iki.fi>2007-04-14 20:11:44 +0200
commit71ced95ec446391172c5f84be3950498a2a0a728 (patch)
treeedac151c28e9e30ef0de7d252cbb3ae588ef8ec4 /lib/Smokeping/probes/EchoPing.pm
parentee78a2434ef77fdce97546aca173ebbd0391676a (diff)
downloadsmokeping-71ced95ec446391172c5f84be3950498a2a0a728.tar.gz
smokeping-71ced95ec446391172c5f84be3950498a2a0a728.tar.xz
r1042@rispa: niko | 2007-04-14 08:24:57 +0300
post args
Diffstat (limited to 'lib/Smokeping/probes/EchoPing.pm')
-rw-r--r--lib/Smokeping/probes/EchoPing.pm6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/Smokeping/probes/EchoPing.pm b/lib/Smokeping/probes/EchoPing.pm
index 94f31ac..65bac3e 100644
--- a/lib/Smokeping/probes/EchoPing.pm
+++ b/lib/Smokeping/probes/EchoPing.pm
@@ -112,6 +112,9 @@ sub make_host {
return $target->{addr};
}
+sub make_post_args {
+ return ();
+}
# other than host, count and protocol-specific args come from here
sub make_args {
@@ -178,11 +181,12 @@ sub make_commandline {
$count |= $self->pings($target);
my @args = $self->make_args($target);
+ my @post_args = $self->make_post_args($target);
my $host = $self->make_host($target);
push @args, $self->proto_args($target);
push @args, $self->count_args($count);
- return ($self->{properties}{binary}, @args, $host);
+ return ($self->{properties}{binary}, @args, $host, @post_args);
}
sub pingone {