diff options
Diffstat (limited to 'lib/custodian/protocoltest/tcp.rb')
-rw-r--r-- | lib/custodian/protocoltest/tcp.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/custodian/protocoltest/tcp.rb b/lib/custodian/protocoltest/tcp.rb index 822b82c..a28ed33 100644 --- a/lib/custodian/protocoltest/tcp.rb +++ b/lib/custodian/protocoltest/tcp.rb @@ -160,7 +160,7 @@ module Custodian return true else # test for banner - if ( ( !read.nil? ) && ( read =~ /#{banner}/i ) ) + if ( ( !read.nil? ) && ( banner.match(read) ) ) return true end |