1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-28 18:39:03 +00:00

Add the --resolve-all option

This commit is contained in:
dmiller
2017-12-06 04:17:06 +00:00
parent d9b66b20a3
commit f1488554bd
7 changed files with 27 additions and 11 deletions

View File

@@ -381,7 +381,7 @@ static NetBlock *parse_expr_without_netmask(const char *hostexp, int af) {
return NULL;
}
NetBlockHostname *netblock_hostname = new NetBlockHostname(hostn, af, resolveall);
NetBlockHostname *netblock_hostname = new NetBlockHostname(hostn, af, resolveall || o.resolve_all);
free(hostn);
return netblock_hostname;
}