mirror of
https://github.com/nmap/nmap.git
synced 2025-12-06 12:41:29 +00:00
maxn is deprecated
This commit is contained in:
@@ -117,7 +117,7 @@ action = function()
|
|||||||
sock:close()
|
sock:close()
|
||||||
|
|
||||||
-- If no broadcasts received, don't output anything.
|
-- If no broadcasts received, don't output anything.
|
||||||
if table.maxn(ids) == 0 then
|
if #ids == 0 then
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user