1
0
mirror of https://github.com/nmap/nmap.git synced 2026-02-11 07:56:35 +00:00

Allow traceroute to affect host timing stats.

This commit is contained in:
david
2009-11-16 08:46:11 +00:00
parent 300e038aa6
commit 5c2eb72454

View File

@@ -1195,6 +1195,7 @@ void TracerouteState::read_replies(long timeout) {
sslen = sizeof(ss);
host->target->TargetSockAddr(&ss, &sslen);
if (sockaddr_storage_cmp(&ss, &reply.from_addr) == 0) {
adjust_timeouts2(&probe->sent_time, &reply.rcvdtime, &host->target->to);
if (host->reached_target == 0 || probe->ttl < host->reached_target)
host->reached_target = probe->ttl;
if (host->state == HostState::COUNTING_DOWN) {