Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-4]: src/usr.sbin/traceroute pullup 1.35->1.36 (Kimmo Suominen)



details:   https://anonhg.NetBSD.org/src/rev/0c201c504c4c
branches:  netbsd-1-4
changeset: 469123:0c201c504c4c
user:      perry <perry%NetBSD.org@localhost>
date:      Mon Jun 28 23:52:58 1999 +0000

description:
pullup 1.35->1.36 (Kimmo Suominen)

diffstat:

 usr.sbin/traceroute/traceroute.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 93d790aa026b -r 0c201c504c4c usr.sbin/traceroute/traceroute.c
--- a/usr.sbin/traceroute/traceroute.c  Mon Jun 28 23:38:57 1999 +0000
+++ b/usr.sbin/traceroute/traceroute.c  Mon Jun 28 23:52:58 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: traceroute.c,v 1.30.2.1 1999/06/23 15:12:30 perry Exp $        */
+/*     $NetBSD: traceroute.c,v 1.30.2.2 1999/06/28 23:52:58 perry Exp $        */
 
 /*
  * Copyright (c) 1988, 1989, 1991, 1994, 1995, 1996, 1997
@@ -29,7 +29,7 @@
 #else
 __COPYRIGHT("@(#) Copyright (c) 1988, 1989, 1991, 1994, 1995, 1996, 1997\n\
 The Regents of the University of California.  All rights reserved.\n");
-__RCSID("$NetBSD: traceroute.c,v 1.30.2.1 1999/06/23 15:12:30 perry Exp $");
+__RCSID("$NetBSD: traceroute.c,v 1.30.2.2 1999/06/28 23:52:58 perry Exp $");
 #endif
 #endif
 
@@ -916,7 +916,7 @@
                }
                putchar('\n');
                if (got_there ||
-                   (unreachable > 0 && unreachable >= nprobes))
+                   (unreachable > 0 && unreachable >= ((nprobes + 1) / 2)))
                        break;
        }
        exit(0);



Home | Main Index | Thread Index | Old Index