mirror of
https://github.com/nmap/nmap.git
synced 2025-12-07 13:11:28 +00:00
Previously, we would only request IPv4 addresses by default, or only IPv6 when scanning with -6. Now, we'll request both (by not passing an address family in the hints to getaddrinfo) and report them all in the "Other addresses" line. This should encourage more users to scan with -6. Additionally, it allows us to catch and report attempts to scan IPv6-only hosts via IPv4, where previously we would just say "Failed to resolve" Closes #76
28 KiB
28 KiB