From dc5de996f495dd57d6d3b0424a0f98e66dd2cd97 Mon Sep 17 00:00:00 2001 From: thorpej Date: Mon, 10 Sep 2001 14:25:12 +0000 Subject: [PATCH] Make the PCB address printing look like the IPv4 version. --- usr.bin/netstat/inet6.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/usr.bin/netstat/inet6.c b/usr.bin/netstat/inet6.c index 0da20f59f95d..6869dfa8bad4 100644 --- a/usr.bin/netstat/inet6.c +++ b/usr.bin/netstat/inet6.c @@ -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 @@ ip6protopr(off, name) } 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);