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:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user