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

Fixed error in dns.lua reported by Eugene Alexeev:

nselib/dns.lua:110: attempt to get length of field 'dtype' (a number value)
This commit is contained in:
jah
2010-04-10 21:25:50 +00:00
parent 3f4153c956
commit 19117c80be

View File

@@ -107,7 +107,7 @@ local function getAuthDns(rPkt)
if #rPkt.answers == 0 then
return false
else
if #rPkt.answers[1].dtype == types.CNAME then
if rPkt.answers[1].dtype == types.CNAME then
return {cname = rPkt.answers[1].domain}
end
end