summaryrefslogtreecommitdiffstats
path: root/lib/Smokeping/probes
diff options
context:
space:
mode:
authorNiko Tyni <ntyni@iki.fi>2006-09-06 23:29:46 +0200
committerNiko Tyni <ntyni@iki.fi>2006-09-06 23:29:46 +0200
commita0f42d4ccf2c4637cf2e40fd58c9cd9b36466909 (patch)
treee60c4ef50daf28c0d0e57960db274806835ea6ec /lib/Smokeping/probes
parent425d5b5be4e76469c0c95bbdce4ade33466e624f (diff)
downloadsmokeping-a0f42d4ccf2c4637cf2e40fd58c9cd9b36466909.tar.gz
smokeping-a0f42d4ccf2c4637cf2e40fd58c9cd9b36466909.tar.xz
yes|no needs to parenthesized, as Config::Grammar matches it as
/^$re$/ so eg. "yessssssss" and "abceuano" match otherwise.
Diffstat (limited to 'lib/Smokeping/probes')
-rw-r--r--lib/Smokeping/probes/FTPtransfer.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Smokeping/probes/FTPtransfer.pm b/lib/Smokeping/probes/FTPtransfer.pm
index 2715cd7..ff1d5a8 100644
--- a/lib/Smokeping/probes/FTPtransfer.pm
+++ b/lib/Smokeping/probes/FTPtransfer.pm
@@ -222,7 +222,7 @@ sub targetvars {
},
passive => {
_doc => 'Use passive FTP protocol',
- _re => 'yes|no',
+ _re => '(yes|no)',
_example => 'yes',
}