1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-26 09:29:01 +00:00

Enable IPv6 OS results by default.

This commit is contained in:
david
2011-09-30 05:58:45 +00:00
parent d749de55b1
commit 6b2c828da9
3 changed files with 1 additions and 10 deletions

View File

@@ -950,10 +950,7 @@ static void classify(FingerPrintResultsIPv6 *FPR) {
if (labels[i].prob >= 0.90 * labels[0].prob)
FPR->num_perfect_matches = i + 1;
}
if (o.disable_ipv6_os_results && o.debugging < 2) {
FPR->overall_results = OSSCAN_NOMATCHES;
FPR->num_perfect_matches = 0;
} else if (FPR->num_perfect_matches == 0) {
if (FPR->num_perfect_matches == 0) {
FPR->overall_results = OSSCAN_NOMATCHES;
} else if (FPR->num_perfect_matches == 1) {
FPR->overall_results = OSSCAN_SUCCESS;