diff options
Diffstat (limited to 'lib/Smokeping/probes/EchoPing.pm')
-rw-r--r-- | lib/Smokeping/probes/EchoPing.pm | 6 |
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 { |