1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-06 04:31:29 +00:00

Fixed a bug (misspelled variable) in dns.lua

This commit is contained in:
ron
2010-10-29 13:01:37 +00:00
parent fe91dce037
commit af72edc2a5

View File

@@ -176,7 +176,7 @@ local function processResponse( response, dname, dtype, options )
-- if we got a CNAME, ask for the CNAME
if type(next_server) == 'table' and next_server.cname then
options.tries = option.tries - 1
options.tries = options.tries - 1
return query(next_server.cname, options)
end
@@ -185,7 +185,7 @@ local function processResponse( response, dname, dtype, options )
-- it isn't the one we just asked
if next_server and next_server ~= options.host and options.tries > 1 then
options.host = next_server
options.tries = option.tries - 1
options.tries = options.tries - 1
return query(dname, options)
end
end