mirror of
https://github.com/nmap/nmap.git
synced 2026-09-01 07:52:57 +00:00
Treat no-answers as NXDOMAIN
This commit is contained in:
parent
c840e236cb
commit
3cac585f69
1 changed files with 1 additions and 1 deletions
|
|
@ -715,7 +715,7 @@ static void read_evt_handler(nsock_pool nsp, nsock_event evt, void *) {
|
|||
}
|
||||
info &reqinfo = infoI->second;
|
||||
|
||||
if (DNS_HAS_ERR(f, DNS::ERR_NAME))
|
||||
if (DNS_HAS_ERR(f, DNS::ERR_NAME) || p.answers.empty())
|
||||
{
|
||||
process_request(ACTION_FINISHED, reqinfo);
|
||||
if (o.debugging >= TRACE_DEBUG_LEVEL)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue