mirror of
https://github.com/nmap/nmap.git
synced 2026-01-05 14:09:02 +00:00
Avoid error thrown when pcap read times out on firewall-bypass.nse
This commit is contained in:
@@ -107,6 +107,10 @@ ftp_helper = {
|
||||
break
|
||||
end
|
||||
end
|
||||
if not status then
|
||||
stdnse.debug1("pcap read timed out")
|
||||
return false
|
||||
end
|
||||
|
||||
-- Get ethernet values
|
||||
local f = packet.Frame:new(l2data)
|
||||
|
||||
Reference in New Issue
Block a user