mirror of
https://github.com/nmap/nmap.git
synced 2025-12-28 18:39:03 +00:00
Allow dns.get_servers to return a list of known DNS servers even when IPv6
scanning, when system DNS resolution is used. This makes ASN.nse work for IPv6. See the thread at http://seclists.org/nmap-dev/2008/q4/0081.html.
This commit is contained in:
@@ -488,8 +488,6 @@ void NmapOps::ValidateOptions() {
|
||||
fatal("Sorry -- IPv6 support is currently only available for connect() scan (-sT), ping scan (-sP), and list scan (-sL). OS detection and decoys are also not supported with IPv6. Further support is under consideration.");
|
||||
}
|
||||
|
||||
if (af() != AF_INET) mass_dns = false;
|
||||
|
||||
/* Prevent performance values from getting out of whack */
|
||||
if (min_parallelism > max_parallelism)
|
||||
max_parallelism = min_parallelism;
|
||||
|
||||
Reference in New Issue
Block a user