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 | 70796a4021f71384d7863be0bc216da68e4e201d (patch) | |
tree | e75661f3c3716b152238b2683180b518d33f674d /lib | |
parent | befdfc2b184c45323d388829be1fb9dde2a6f32d (diff) |
We must read a line from the socket if doing a banner comparison.
Diffstat (limited to 'lib')
-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 |