diff options
author | Yang Tse <yangsita@gmail.com> | 2010-01-12 22:11:13 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2010-01-12 22:11:13 +0000 |
commit | b32a96eda015e47eda24338937d271c47f5ce38e (patch) | |
tree | 4a616fa076b07516e1fe3183a9b88d0a48d142c6 /tests | |
parent | 82f5ffff8f183720aaee296b48cd67c4c003ece5 (diff) |
Fix tftp and sftp supported protocols in servername_str()
Diffstat (limited to 'tests')
-rw-r--r-- | tests/serverhelp.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/serverhelp.pm b/tests/serverhelp.pm index 35dda01c5..53aeb79cb 100644 --- a/tests/serverhelp.pm +++ b/tests/serverhelp.pm @@ -70,7 +70,7 @@ sub servername_str { $proto = uc($proto) if($proto); die "unsupported protocol: $proto" unless($proto && - ($proto =~ /^(((FTP|HTTP|IMAP|POP3|SMTP|TFTP)S?)|(SOCKS|SSH))$/)); + ($proto =~ /^(((FTP|HTTP|IMAP|POP3|SMTP)S?)|(TFTP|SFTP|SOCKS|SSH))$/)); $ipver = (not $ipver) ? 'ipv4' : lc($ipver); die "unsupported IP version: $ipver" unless($ipver && |