1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-06 04:31:29 +00:00

Make the TraceGroup::consolidateHops method const.

This commit is contained in:
david
2009-08-21 01:06:49 +00:00
parent a4ea6d2f7c
commit b64134be14
2 changed files with 2 additions and 2 deletions

View File

@@ -210,7 +210,7 @@ class TraceGroup {
void retransmissions(std::vector < TraceProbe * >&retrans);
/* Returns a map from TTLs to probes, stripped of all unneeded probes and
* with timed-out probes marked for consolidation. */
std::map < u8, TraceProbe * > consolidateHops();
std::map < u8, TraceProbe * > consolidateHops() const;
/* the next ttl to send, if the destination has replied the ttl is
* decremented, if it hasn't it is incremented */
void nextTTL();