mirror of
https://github.com/nmap/nmap.git
synced 2026-08-03 22:29:06 +00:00
Allow traceroute to affect host timing stats.
This commit is contained in:
parent
300e038aa6
commit
5c2eb72454
1 changed files with 1 additions and 0 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue