1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-28 10:29:03 +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

@@ -1176,7 +1176,7 @@ TraceGroup::retransmissions(vector < TraceProbe * >&retrans) {
/* Returns a map from TTLs to probes, stripped of all unneeded probes and with
* timed-out probes marked for consolidation. */
map < u8, TraceProbe * > TraceGroup::consolidateHops() {
map < u8, TraceProbe * > TraceGroup::consolidateHops() const {
map < u16, TraceProbe * >::size_type ttl_count;
map < u8, TraceProbe * >ttlProbes;
map < u16, TraceProbe * >::const_iterator probe_iter;