More handled error cases
git-svn-id: file:///home/svn/framework3/trunk@5280 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
f6327e74ac
commit
45bfed7eaf
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue