mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 06:40:48 +00:00
Avoid error thrown when pcap read times out on firewall-bypass.nse
This commit is contained in:
parent
66fb5fba22
commit
5022aaf794
1 changed files with 4 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue