diff options
| author | Peter Wemm <peter@FreeBSD.org> | 1996-08-21 04:31:28 +0000 |
|---|---|---|
| committer | Peter Wemm <peter@FreeBSD.org> | 1996-08-21 04:31:28 +0000 |
| commit | e86f5a4cd360a7e5a6e583e3b702ae025f4fd222 (patch) | |
| tree | 97cf400ef7b9e821170b5255b9c3038d429f9a0a | |
| parent | 2f425539d675956948382f0ed9d39b2586c459a9 (diff) | |
Notes
| -rw-r--r-- | usr.sbin/traceroute/traceroute.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/usr.sbin/traceroute/traceroute.c b/usr.sbin/traceroute/traceroute.c index 7df7b726fdba..5e0ce7bc570c 100644 --- a/usr.sbin/traceroute/traceroute.c +++ b/usr.sbin/traceroute/traceroute.c @@ -1,6 +1,6 @@ #ifndef lint static char *rcsid = - "@(#)$Header: /home/ncvs/src/usr.sbin/traceroute/traceroute.c,v 1.7 1996/08/13 16:28:59 fenner Exp $ (LBL)"; + "@(#)$Header: /home/ncvs/src/usr.sbin/traceroute/traceroute.c,v 1.8 1996/08/17 10:37:28 peter Exp $ (LBL)"; #endif /* @@ -564,16 +564,6 @@ main(int argc, char **argv) send_probe(++seq, ttl, &t1); while ((cc = wait_for_reply(s, &from, &t1)) != 0) { (void) gettimeofday(&t2, &tz); - /* - * Since we'll be receiving all ICMP - * messages to this host above, we may - * never end up with cc=0, so we need - * an additional termination check. - */ - if (t2.tv_sec - t1.tv_sec > waittime) { - cc = 0; - break; - } if ((i = packet_ok(packet, cc, &from, seq))) { double T; int precis; |
