mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 06:40:48 +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:
parent
3f4153c956
commit
19117c80be
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue