From 51fd4fb550433e0c56e9a8af855ad878ed110635 Mon Sep 17 00:00:00 2001 From: Joshua Drake Date: Fri, 19 Nov 2010 22:32:29 +0000 Subject: [PATCH] this fixes #3602, incompatabilities TBD git-svn-id: file:///home/svn/framework3/trunk@11076 4d416f70-5f16-0410-b530-b9f4589650da --- lib/rex/socket/comm/local.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rex/socket/comm/local.rb b/lib/rex/socket/comm/local.rb index dafd2b1037..1015b67c39 100644 --- a/lib/rex/socket/comm/local.rb +++ b/lib/rex/socket/comm/local.rb @@ -245,7 +245,7 @@ class Rex::Socket::Comm::Local rescue ::Errno::EHOSTUNREACH,::Errno::ENETDOWN,::Errno::ENETUNREACH,::Errno::ENETRESET,::Errno::EHOSTDOWN,::Errno::EACCES,::Errno::EINVAL sock.close raise Rex::HostUnreachable.new(param.peerhost, param.peerport), caller - + rescue ::Errno::EADDRNOTAVAIL,::Errno::EADDRINUSE sock.close raise Rex::AddressInUse.new(param.peerhost, param.peerport), caller