this fixes #3602, incompatabilities TBD
git-svn-id: file:///home/svn/framework3/trunk@11076 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
b5c5e21b24
commit
51fd4fb550
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue