diff options
author | Tobi Oetiker <tobi@oetiker.ch> | 2007-10-15 09:49:18 +0200 |
---|---|---|
committer | Tobi Oetiker <tobi@oetiker.ch> | 2007-10-15 09:49:18 +0200 |
commit | 15ce7b9d28dda1afb6b892c1e2a34e057f3fdb60 (patch) | |
tree | 0226ecb3ea1595463dad24204ac65f9885c4d63b /lib/Smokeping/probes/EchoPingChargen.pm | |
parent | 03d504e82b3e6c77c0b59af415ff740de1b483f3 (diff) | |
download | smokeping-15ce7b9d28dda1afb6b892c1e2a34e057f3fdb60.tar.gz smokeping-15ce7b9d28dda1afb6b892c1e2a34e057f3fdb60.tar.xz |
* fixed parsing of slaves statements in config file, broeken since I seemingly relaxed the hostname constraints.
* removed all online testing from Curl and EchoPing probes
Diffstat (limited to 'lib/Smokeping/probes/EchoPingChargen.pm')
-rw-r--r-- | lib/Smokeping/probes/EchoPingChargen.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Smokeping/probes/EchoPingChargen.pm b/lib/Smokeping/probes/EchoPingChargen.pm index 53f4386..a75153d 100644 --- a/lib/Smokeping/probes/EchoPingChargen.pm +++ b/lib/Smokeping/probes/EchoPingChargen.pm @@ -46,7 +46,7 @@ sub test_usage { my $self = shift; my $bin = $self->{properties}{binary}; croak("Your echoping binary doesn't support CHARGEN") - if `$bin -c 2>&1 0.0.0.1` =~ /(usage|not compiled|invalid option)/i; + if `$bin -c 2>&1` !~ /^Usage/i; $self->SUPER::test_usage; return; } |