From 41a1b1a239810f5d06e286331f8a7dd607224cfe Mon Sep 17 00:00:00 2001 From: Niko Tyni Date: Thu, 13 Dec 2007 11:50:06 +0000 Subject: clean the last remains of echoping live test code --- lib/Smokeping/probes/EchoPingHttp.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/Smokeping') diff --git a/lib/Smokeping/probes/EchoPingHttp.pm b/lib/Smokeping/probes/EchoPingHttp.pm index 3cbbb71..706d52e 100644 --- a/lib/Smokeping/probes/EchoPingHttp.pm +++ b/lib/Smokeping/probes/EchoPingHttp.pm @@ -73,13 +73,13 @@ sub proto_args { $ignore = 1 if (defined $ignore and $ignore ne "no" and $ignore ne "0"); - push @args, "-A" if $ignore and not exists $self->{_disabled}{A}; + push @args, "-A" if $ignore; # -a : force cache to revalidate the data my $revalidate = $target->{vars}{revalidate_data}; $revalidate= 1 if (defined $revalidate and $revalidate ne "no" and $revalidate ne "0"); - push @args, "-a" if $revalidate and not exists $self->{_disabled}{a}; + push @args, "-a" if $revalidate; # -R : accept HTTP redirects my $accept_redirects = $target->{vars}{accept_redirects}; -- cgit v1.2.3-24-g4f1b