summaryrefslogtreecommitdiffstats
path: root/lib/Smokeping/probes/EchoPingSmtp.pm
diff options
context:
space:
mode:
authorTobi Oetiker <tobi@oetiker.ch>2007-05-28 17:23:51 +0200
committerTobi Oetiker <tobi@oetiker.ch>2007-05-28 17:23:51 +0200
commit72804714f5a4a15706215c0ea3f0b4a288b3428f (patch)
treef3f5308e67ce21bd8e1f0362415d3929a0122f9e /lib/Smokeping/probes/EchoPingSmtp.pm
parentd13567a129969c4c3ca0548d08a0d34473aca66d (diff)
downloadsmokeping-72804714f5a4a15706215c0ea3f0b4a288b3428f.tar.gz
smokeping-72804714f5a4a15706215c0ea3f0b4a288b3428f.tar.xz
do not test echoping and curl functionality with 127.0.0.1 since there may be someone behind this address
Diffstat (limited to 'lib/Smokeping/probes/EchoPingSmtp.pm')
-rw-r--r--lib/Smokeping/probes/EchoPingSmtp.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Smokeping/probes/EchoPingSmtp.pm b/lib/Smokeping/probes/EchoPingSmtp.pm
index 8175fea..a65b97c 100644
--- a/lib/Smokeping/probes/EchoPingSmtp.pm
+++ b/lib/Smokeping/probes/EchoPingSmtp.pm
@@ -54,7 +54,7 @@ sub test_usage {
my $self = shift;
my $bin = $self->{properties}{binary};
croak("Your echoping binary doesn't support SMTP")
- if `$bin -S 127.0.0.1 2>&1` =~ /(not compiled|invalid option|usage)/i;
+ if `$bin -S 0.0.0.1 2>&1` =~ /(not compiled|invalid option|usage)/i;
$self->SUPER::test_usage;
return;
}