mirror of
https://github.com/nmap/nmap.git
synced 2026-05-13 08:46:45 +00:00
Remove some code that only applied to gen-1 OS detection.
This commit is contained in:
parent
3731a3cb29
commit
d62da6eb45
1 changed files with 1 additions and 3 deletions
|
|
@ -104,9 +104,7 @@ FingerPrintResults::FingerPrintResults() {
|
|||
osscan_opentcpport = osscan_closedtcpport = osscan_closedudpport = -1;
|
||||
distance = -1;
|
||||
distance_guess = -1;
|
||||
/* We keep FPs holding at least 10 records because Gen1 OS detection
|
||||
doesn't support maxOSTries() */
|
||||
FPs = (FingerPrint **) safe_zalloc(MAX(o.maxOSTries(), 10) * sizeof(FingerPrint *));
|
||||
FPs = (FingerPrint **) safe_zalloc(o.maxOSTries() * sizeof(FingerPrint *));
|
||||
maxTimingRatio = 0;
|
||||
numFPs = 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue