From af72edc2a5cd85d0997465faf294017ed04c95ab Mon Sep 17 00:00:00 2001 From: ron Date: Fri, 29 Oct 2010 13:01:37 +0000 Subject: [PATCH] Fixed a bug (misspelled variable) in dns.lua --- nselib/dns.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nselib/dns.lua b/nselib/dns.lua index dbedb9204..6d916409f 100644 --- a/nselib/dns.lua +++ b/nselib/dns.lua @@ -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