1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-06 20:51:30 +00:00

Simplify error statement regarding IPv6-incompatible features (note OS detection is now supported!)

This commit is contained in:
dmiller
2015-04-09 15:55:45 +00:00
parent b87d343443
commit 6b26490496

View File

@@ -570,11 +570,11 @@ dialog where you can start NPF if you have administrator privileges.";
}
if (af() == AF_INET6 && (generate_random_ips|numdecoys|bouncescan|fragscan)) {
fatal("Sorry -- IPv6 support is currently only available for TCP, UDP, and SCTP port scans and list scan (-sL). OS detection, random targets and decoys are also not supported with IPv6. Further support is under consideration.");
fatal("Random targets, decoys, FTP bounce scan, and fragmentation are not supported with IPv6.");
}
if(ipoptions && osscan)
error("WARNING: Ip options are NOT used while OS scanning!");
error("WARNING: IP options are NOT used while OS scanning!");
#ifndef NOLUA
/* Make sure nmap.registry.args is available (even if it's empty) */