1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-30 03:19:02 +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;

View File

@@ -326,7 +326,6 @@ void NmapOps::Initialize() {
ipopt_firsthop = 0;
ipopt_lasthop = 0;
release_memory = false;
disable_ipv6_os_results = true;
topportlevel = -1;
#ifndef NOLUA
script = 0;

View File

@@ -352,11 +352,6 @@ class NmapOps {
bool noninteractive;
bool release_memory; /* suggest to release memory before quitting. used to find memory leaks. */
/* This is a temporary option that disables the printing of IPv6 OS results,
to allow collection of more fingerprints. */
bool disable_ipv6_os_results;
private:
int max_os_tries;
int max_rtt_timeout;