diff options
author | Steve Kemp <steve@steve.org.uk> | 2013-05-20 16:22:39 +0100 |
---|---|---|
committer | Steve Kemp <steve@steve.org.uk> | 2013-05-20 16:22:39 +0100 |
commit | 563c35728746be129303ea50e5fd0e6028721ddc (patch) | |
tree | d71b4db802a5bd588da161cc28aeda6c4c28934b | |
parent | 470f5eefbefdc109aaf8c0b5d5ea5e86723f9394 (diff) |
We must read a line from the socket if doing a banner comparison.
-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 52bed15..b4a23b2 100644 --- a/lib/custodian/protocoltest/tcp.rb +++ b/lib/custodian/protocoltest/tcp.rb @@ -127,7 +127,7 @@ module Custodian # reset the error, in case we were previously executed. @error = nil - return( run_test_internal( @host, @port, @banner ) ) + return( run_test_internal( @host, @port, @banner, ( ! @banner.nil? ) ) ) end |