From 72804714f5a4a15706215c0ea3f0b4a288b3428f Mon Sep 17 00:00:00 2001 From: Tobi Oetiker Date: Mon, 28 May 2007 15:23:51 +0000 Subject: do not test echoping and curl functionality with 127.0.0.1 since there may be someone behind this address --- lib/Smokeping/probes/EchoPingPlugin.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Smokeping/probes/EchoPingPlugin.pm') diff --git a/lib/Smokeping/probes/EchoPingPlugin.pm b/lib/Smokeping/probes/EchoPingPlugin.pm index 79d2c0c..0762f45 100644 --- a/lib/Smokeping/probes/EchoPingPlugin.pm +++ b/lib/Smokeping/probes/EchoPingPlugin.pm @@ -79,7 +79,7 @@ sub test_usage { my $bin = $self->{properties}{binary}; # is there anything smarter to do? croak("Your echoping binary doesn't support plugins. At least version 6 is required.") - if `$bin -m improbable_plugin_name 127.0.0.1 2>&1` =~ /invalid option/i; + if `$bin -m improbable_plugin_name 0.0.0.1 2>&1` =~ /invalid option/i; $self->SUPER::test_usage; return; } -- cgit v1.2.3-24-g4f1b