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 OLDRAWSOCKET ...
details: https://anonhg.NetBSD.org/src/rev/082765c7088b
branches: trunk
changeset: 361311:082765c7088b
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 ac0879a7b13a -r 082765c7088b 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