mirror of
https://github.com/nmap/nmap.git
synced 2025-12-06 04:31:29 +00:00
maxn is deprecated
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user