diff options
author | Tobi Oetiker <tobi@oetiker.ch> | 2006-10-25 19:50:21 +0200 |
---|---|---|
committer | Tobi Oetiker <tobi@oetiker.ch> | 2006-10-25 19:50:21 +0200 |
commit | 48ac00bb2d537725a61fde25ad37c61035bf2d5f (patch) | |
tree | 02afff61d8462de03eac3bd875600442d4a398b5 /lib/Smokeping/probes | |
parent | 16c2d510b85f036fd411d05ef27f665170ed9413 (diff) | |
download | smokeping-48ac00bb2d537725a61fde25ad37c61035bf2d5f.tar.gz smokeping-48ac00bb2d537725a61fde25ad37c61035bf2d5f.tar.xz |
add missing if statement ...
Diffstat (limited to 'lib/Smokeping/probes')
-rw-r--r-- | lib/Smokeping/probes/FPing.pm | 2 |
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, |