mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 14:49:29 +00:00
Avoid a script crash when pppoe.Comm.recv returns failure without error message
This commit is contained in:
parent
1a205842fd
commit
f405d71296
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue