summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobi Oetiker <tobi@oetiker.ch>2009-01-21 07:51:14 +0100
committerTobi Oetiker <tobi@oetiker.ch>2009-01-21 07:51:14 +0100
commit111f2f3d4f584eed8ecbf902d4770dceaab2390c (patch)
treed6fe54bf06869dbf511e87eb535c3ed9adb43b63
parentbd1904210d02ff63b4c6ccc8775e901d6663e49c (diff)
downloadsmokeping-111f2f3d4f584eed8ecbf902d4770dceaab2390c.tar.gz
smokeping-111f2f3d4f584eed8ecbf902d4770dceaab2390c.tar.xz
fix broken error message in spdomed
-rw-r--r--CHANGES2
-rw-r--r--lib/Smokeping/probes/FPing.pm2
2 files changed, 3 insertions, 1 deletions
diff --git a/CHANGES b/CHANGES
index d93772b..ddcad41 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,5 @@
+* fix broken FPing.pm error message call -- tobi
+
* smokeinfo: new tool to extract numeric data from a smokeping installation
creation sponsored by Swisscom Hospitality -- tobi
diff --git a/lib/Smokeping/probes/FPing.pm b/lib/Smokeping/probes/FPing.pm
index a0aae55..fc56ae5 100644
--- a/lib/Smokeping/probes/FPing.pm
+++ b/lib/Smokeping/probes/FPing.pm
@@ -120,7 +120,7 @@ sub ping ($){
push @params, "-i" . int(1000 * $self->{properties}{mininterval});
push @params, "-p" . int(1000 * $self->{properties}{hostinterval}) if $self->{properties}{hostinterval};
if ($self->rounds_count == 1 and $self->{properties}{sourceaddress} and not $self->{enable}{S}){
- do_log("WARNING: your fping binary doesn't support source address setting (-S), I will ignore any sourceaddress configurations - see http://bugs.debian.org/198486.");
+ $self->do_log("WARNING: your fping binary doesn't support source address setting (-S), I will ignore any sourceaddress configurations - see http://bugs.debian.org/198486.");
}
push @params, "-S$self->{properties}{sourceaddress}" if $self->{properties}{sourceaddress} and $self->{enable}{S};