More handled error cases

git-svn-id: file:///home/svn/framework3/trunk@5280 4d416f70-5f16-0410-b530-b9f4589650da
unstable
HD Moore 2008-01-06 21:55:40 +00:00
parent f6327e74ac
commit 45bfed7eaf
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ class Auxiliary::Scanner::Discovery::SweepUDP < Msf::Auxiliary
begin
data, port = self.send(probe, ip)
udp_sock.sendto(data, ip, port, 0)
rescue ::Errno::EACCES,Errno::EHOSTUNREACH
rescue Errno::EACCES, Errno::EHOSTUNREACH, Errno::EHOSTDOWN, Errno::ENETDOWN, Errno::ENETUNREACH, Errno:ENETRESET
end
if (idx % 30 == 0)