From 40e206a13476d3db62664553810f7aad2a6ecc52 Mon Sep 17 00:00:00 2001 From: ejlbell Date: Sat, 15 Sep 2007 13:24:45 +0000 Subject: [PATCH] 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. --- traceroute.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/traceroute.cc b/traceroute.cc index e98380e1f..b484eec5e 100644 --- a/traceroute.cc +++ b/traceroute.cc @@ -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: