Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/traceroute6 ... another occurrence of ...
details: https://anonhg.NetBSD.org/src/rev/05db755857c2
branches: trunk
changeset: 318432:05db755857c2
user: maxv <maxv%NetBSD.org@localhost>
date: Mon Apr 23 10:23:38 2018 +0000
description:
... another occurrence of OLDRAWSOCKET ...
diffstat:
usr.sbin/traceroute6/traceroute6.c | 10 ++--------
1 files changed, 2 insertions(+), 8 deletions(-)
diffs (34 lines):
diff -r c6a8be246d93 -r 05db755857c2 usr.sbin/traceroute6/traceroute6.c
--- a/usr.sbin/traceroute6/traceroute6.c Mon Apr 23 10:22:18 2018 +0000
+++ b/usr.sbin/traceroute6/traceroute6.c Mon Apr 23 10:23:38 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: traceroute6.c,v 1.49 2018/04/23 10:22:18 maxv Exp $ */
+/* $NetBSD: traceroute6.c,v 1.50 2018/04/23 10:23:38 maxv Exp $ */
/* $KAME: traceroute6.c,v 1.67 2004/01/25 03:24:39 itojun Exp $ */
/*
@@ -75,7 +75,7 @@
#else
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: traceroute6.c,v 1.49 2018/04/23 10:22:18 maxv Exp $");
+__RCSID("$NetBSD: traceroute6.c,v 1.50 2018/04/23 10:23:38 maxv Exp $");
#endif
#endif
@@ -1138,15 +1138,9 @@
printf(" %s", inetname((struct sockaddr *)from));
if (verbose) {
-#ifdef OLDRAWSOCKET
- printf(" %d bytes to %s", cc,
- rcvpktinfo ? inet_ntop(AF_INET6, &rcvpktinfo->ipi6_addr,
- hbuf, sizeof(hbuf)) : "?");
-#else
printf(" %d bytes of data to %s", cc,
rcvpktinfo ? inet_ntop(AF_INET6, &rcvpktinfo->ipi6_addr,
hbuf, sizeof(hbuf)) : "?");
-#endif
}
}
Home |
Main Index |
Thread Index |
Old Index