Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/netstat Make the PCB address printing look like the ...
details: https://anonhg.NetBSD.org/src/rev/f41d2e51ec03
branches: trunk
changeset: 514781:f41d2e51ec03
user: thorpej <thorpej%NetBSD.org@localhost>
date: Mon Sep 10 14:25:12 2001 +0000
description:
Make the PCB address printing look like the IPv4 version.
diffstat:
usr.bin/netstat/inet6.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (30 lines):
diff -r e1f94a496253 -r f41d2e51ec03 usr.bin/netstat/inet6.c
--- a/usr.bin/netstat/inet6.c Mon Sep 10 14:13:31 2001 +0000
+++ b/usr.bin/netstat/inet6.c Mon Sep 10 14:25:12 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: inet6.c,v 1.21 2001/06/13 02:50:25 itojun Exp $ */
+/* $NetBSD: inet6.c,v 1.22 2001/09/10 14:25:12 thorpej Exp $ */
/* BSDI inet.c,v 2.3 1995/10/24 02:19:29 prb Exp */
/*
@@ -68,7 +68,7 @@
#if 0
static char sccsid[] = "@(#)inet.c 8.4 (Berkeley) 4/20/94";
#else
-__RCSID("$NetBSD: inet6.c,v 1.21 2001/06/13 02:50:25 itojun Exp $");
+__RCSID("$NetBSD: inet6.c,v 1.22 2001/09/10 14:25:12 thorpej Exp $");
#endif
#endif /* not lint */
@@ -205,9 +205,9 @@
}
if (Aflag) {
if (istcp)
- printf("%8p ", in6pcb.in6p_ppcb);
+ printf("%8lx ", (u_long) in6pcb.in6p_ppcb);
else
- printf("%8p ", next);
+ printf("%8lx ", (u_long) next);
}
printf("%-5.5s %6ld %6ld ", name, sockb.so_rcv.sb_cc,
sockb.so_snd.sb_cc);
Home |
Main Index |
Thread Index |
Old Index