1
0
mirror of https://github.com/nmap/nmap.git synced 2026-01-03 13:19:04 +00:00

Avoid a script crash when pppoe.Comm.recv returns failure without error message

This commit is contained in:
dmiller
2016-01-04 16:48:08 +00:00
parent 1a205842fd
commit f405d71296

View File

@@ -712,7 +712,7 @@ Comm = {
-- if we got no response, just return false as there's
-- probably not really an error
if ( not(status) ) then
return false
return false, "Did not receive any packets"
end
local header = PPPoE.Header.parse(l3)