From c9c91eb09400fee04d9f148c4c3daed33a905c0f Mon Sep 17 00:00:00 2001 From: fyodor Date: Tue, 24 Apr 2007 21:40:14 +0000 Subject: [PATCH] Eddie's traceroute-whitespace patch --- traceroute.cc | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/traceroute.cc b/traceroute.cc index fa6d933ed..50189ff99 100644 --- a/traceroute.cc +++ b/traceroute.cc @@ -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; }