mirror of
https://github.com/nmap/nmap.git
synced 2025-12-08 21:51:28 +00:00
Fixed syntax mistake.
This commit is contained in:
@@ -842,7 +842,7 @@ Crawler = {
|
|||||||
local o = self.options
|
local o = self.options
|
||||||
local limits = {}
|
local limits = {}
|
||||||
if ( o.maxdepth > 0 or o.maxpagecount > 0 or
|
if ( o.maxdepth > 0 or o.maxpagecount > 0 or
|
||||||
o.withinhost or o.wihtindomain ) then
|
o.withinhost or o.withindomain ) then
|
||||||
if ( o.maxdepth > 0 ) then
|
if ( o.maxdepth > 0 ) then
|
||||||
table.insert(limits, ("maxdepth=%d"):format(o.maxdepth))
|
table.insert(limits, ("maxdepth=%d"):format(o.maxdepth))
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user