1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-26 01:19:03 +00:00

Fixed variable 'host' is not declared in dns.lua, reported by Ron and

introduced by me when adding multicast support. [Patrik]
This commit is contained in:
patrik
2010-10-29 05:03:39 +00:00
parent 13bb98b8b8
commit 2c7045aa10

View File

@@ -183,7 +183,7 @@ local function processResponse( response, dname, dtype, options )
-- only ask next server in authority, if
-- we got an auth dns and
-- it isn't the one we just asked
if next_server and next_server ~= host and options.tries > 1 then
if next_server and next_server ~= options.host and options.tries > 1 then
options.host = next_server
options.tries = option.tries - 1
return query(dname, options)