1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-06 04:31:29 +00:00

Avoid printing submission fingerprint for IPv6 if all TCP ports are filtered.

This commit is contained in:
dmiller
2016-06-15 20:15:11 +00:00
parent 8895dfaa20
commit b24b5717a8

View File

@@ -252,6 +252,10 @@ const char *FingerPrintResultsIPv6::OmitSubmissionFP() {
return reason; return reason;
} }
if (osscan_opentcpport <= 0 && osscan_closedtcpport <= 0) {
return "Missing a closed or open TCP port so results incomplete";
}
if (incomplete) { if (incomplete) {
return "Some probes failed to send so results incomplete"; return "Some probes failed to send so results incomplete";
} }