From 07df5f051f69adb2bab2e99ed630cb1de18f0035 Mon Sep 17 00:00:00 2001 From: HD Moore Date: Fri, 29 Jul 2011 19:26:43 +0000 Subject: [PATCH] Woops. Get the right variable name git-svn-id: file:///home/svn/framework3/trunk@13412 4d416f70-5f16-0410-b530-b9f4589650da --- lib/rex/socket/ssl_tcp.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rex/socket/ssl_tcp.rb b/lib/rex/socket/ssl_tcp.rb index a0e7cb1d8f..949ad3e375 100644 --- a/lib/rex/socket/ssl_tcp.rb +++ b/lib/rex/socket/ssl_tcp.rb @@ -312,7 +312,7 @@ begin # Linux/Mac OS X, but is required on Windows # def allow_nonblock? - avail = self.sock.respond_to?(:accept_nonblock) + avail = self.sslsock.respond_to?(:accept_nonblock) if avail and Rex::Compat.is_windows return true end