From 111f2f3d4f584eed8ecbf902d4770dceaab2390c Mon Sep 17 00:00:00 2001 From: Tobi Oetiker Date: Wed, 21 Jan 2009 06:51:14 +0000 Subject: fix broken error message in spdomed --- lib/Smokeping/probes/FPing.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Smokeping') 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}; -- cgit v1.2.3-24-g4f1b