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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user