mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 06:40:48 +00:00
Eddie's traceroute-whitespace patch
This commit is contained in:
parent
84baa77c37
commit
c9c91eb094
1 changed files with 1 additions and 7 deletions
|
|
@ -1229,19 +1229,13 @@ u8 TraceGroup::tableSize () {
|
|||
size--;
|
||||
last_probe = it->second;
|
||||
}
|
||||
|
||||
/* If consolidation has been performed, we
|
||||
* need to adjust the table size to reflect
|
||||
* the consolidated nodes. */
|
||||
if(pathCount > 1 && !o.debugging)
|
||||
size--;
|
||||
|
||||
/* no consolidation in debug mode */
|
||||
if(o.debugging)
|
||||
return size + pathCount;
|
||||
/* trace has been consolidated based on commonpath */
|
||||
if(pathCount > 1)
|
||||
return size;
|
||||
return size-(consolidation_start-pathCount);
|
||||
/* no common path elements have been used */
|
||||
return size;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue