1
0
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:
dmiller
2016-08-20 00:07:59 +00:00
parent 66fb5fba22
commit 5022aaf794

View File

@@ -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)