blob: 130d4d0fce9c37506aa84ac13bde63b4e726cdb1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
$Id: update-patches 24 2008-08-31 14:56:13Z wbx $
--- nmap-5.00.orig/traceroute.cc 2009-06-24 23:35:54.000000000 +0200
+++ nmap-5.00/traceroute.cc 2009-07-20 21:07:42.902998599 +0200
@@ -170,6 +170,7 @@
#include "protocols.h"
#include "timing.h"
#include "utils.h"
+#include "sctp.h"
#include <algorithm>
#include <stdlib.h>
@@ -905,9 +906,12 @@ Traceroute::outputTarget (Target * t) {
tg = TraceGroups[t->v4host ().s_addr];
/* sort into ttl order */
+ /* quick hack
for (it = tg->TraceProbes.begin (); it != tg->TraceProbes.end (); ++it)
sortedProbes[it->second->ttl] = it->second;
sortedProbes.swap (tg->TraceProbes);
+ */
+
/* clean up and consolidate traces */
tg->consolidateHops ();
|