mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 06:40:48 +00:00
Add a note to the failed to resolve error message that you might need to use -6. It is a mistake I keep making :)
This commit is contained in:
parent
339477c675
commit
cee8ed9068
1 changed files with 1 additions and 1 deletions
|
|
@ -186,7 +186,7 @@ int TargetGroup::parse_expr(const char * const target_expr, int af) {
|
|||
freeaddrinfo(addrs);
|
||||
|
||||
if (resolvedaddrs.empty()) {
|
||||
error("Failed to resolve given hostname/IP: %s. Note that you can't use '/mask' AND '1-4,7,100-' style IP ranges", target_net);
|
||||
error("Failed to resolve given hostname/IP: %s. Note that you can't use '/mask' AND '1-4,7,100-' style IP ranges. If the machine only has an IPv6 address, add the Nmap -6 flag to scan that.", target_net);
|
||||
free(hostexp);
|
||||
return 1;
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue