From a0f42d4ccf2c4637cf2e40fd58c9cd9b36466909 Mon Sep 17 00:00:00 2001 From: Niko Tyni Date: Wed, 6 Sep 2006 21:29:46 +0000 Subject: yes|no needs to parenthesized, as Config::Grammar matches it as /^$re$/ so eg. "yessssssss" and "abceuano" match otherwise. --- lib/Smokeping/probes/FTPtransfer.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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', } -- cgit v1.2.3-24-g4f1b