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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user