mirror of
https://github.com/nmap/nmap.git
synced 2026-05-13 16:57:06 +00:00
maxn is deprecated
This commit is contained in:
parent
321e0d34e0
commit
bd64492fe9
1 changed files with 1 additions and 1 deletions
|
|
@ -117,7 +117,7 @@ action = function()
|
|||
sock:close()
|
||||
|
||||
-- If no broadcasts received, don't output anything.
|
||||
if table.maxn(ids) == 0 then
|
||||
if #ids == 0 then
|
||||
return
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue