summaryrefslogtreecommitdiffstats
path: root/lib/Smokeping
diff options
context:
space:
mode:
authorTobi Oetiker <tobi@oetiker.ch>2006-10-25 19:50:21 +0200
committerTobi Oetiker <tobi@oetiker.ch>2006-10-25 19:50:21 +0200
commit48ac00bb2d537725a61fde25ad37c61035bf2d5f (patch)
tree02afff61d8462de03eac3bd875600442d4a398b5 /lib/Smokeping
parent16c2d510b85f036fd411d05ef27f665170ed9413 (diff)
downloadsmokeping-48ac00bb2d537725a61fde25ad37c61035bf2d5f.tar.gz
smokeping-48ac00bb2d537725a61fde25ad37c61035bf2d5f.tar.xz
add missing if statement ...
Diffstat (limited to 'lib/Smokeping')
-rw-r--r--lib/Smokeping/probes/FPing.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Smokeping/probes/FPing.pm b/lib/Smokeping/probes/FPing.pm
index d2c4964..0e62576 100644
--- a/lib/Smokeping/probes/FPing.pm
+++ b/lib/Smokeping/probes/FPing.pm
@@ -109,7 +109,7 @@ sub ping ($){
push @params, "-t" . int(1000 * $self->{properties}{timeout}) if $self->{properties}{timeout};
push @params, "-i" . int(1000 * $self->{properties}{mininterval});
push @params, "-p" . int(1000 * $self->{properties}{hostinterval}) if $self->{properties}{hostinterval};
- push @params, "-S$self->{properties}{sourceaddress}" $self->{properties}{sourceaddress} and $self->{enable}{S};
+ push @params, "-S$self->{properties}{sourceaddress}" if $self->{properties}{sourceaddress} and $self->{enable}{S};
my @cmd = (
$self->binary,