Assertion was triggered when the first hop of the reference trace timed out. The textual consolidation messages used the

hops ip address and if it timed out there was no address to use. Now the message uses the groups ip address instead as it will always be present no matter how many hops timeout.
This commit is contained in:
ejlbell 2007-09-15 13:24:45 +00:00
parent 0aaa51980d
commit 40e206a134

View file

@ -500,7 +500,7 @@ Traceroute::readTraceResponses () {
commonPath[tp->ttl] = tp->ipreplysrc.s_addr;
/* remember which host is the reference trace */
if(tp->ttl == 1)
ref_ipaddr = tp->ipdst;
ref_ipaddr.s_addr = tg->ipdst;
}
break;
case IPPROTO_TCP: