Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/netstat print the proper pointer for the pcb address...
details: https://anonhg.NetBSD.org/src/rev/9027ae7453fa
branches: trunk
changeset: 573867:9027ae7453fa
user: atatat <atatat%NetBSD.org@localhost>
date: Sun Feb 13 03:15:18 2005 +0000
description:
print the proper pointer for the pcb address. otherwise, all the udp6
pcb addresses are the same as unrelated udp pcb addresses.
diffstat:
usr.bin/netstat/inet6.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r fb97a29b9d99 -r 9027ae7453fa usr.bin/netstat/inet6.c
--- a/usr.bin/netstat/inet6.c Sun Feb 13 02:03:54 2005 +0000
+++ b/usr.bin/netstat/inet6.c Sun Feb 13 03:15:18 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: inet6.c,v 1.32 2004/11/16 05:59:32 itojun Exp $ */
+/* $NetBSD: inet6.c,v 1.33 2005/02/13 03:15:18 atatat Exp $ */
/* BSDI inet.c,v 2.3 1995/10/24 02:19:29 prb Exp */
/*
@@ -64,7 +64,7 @@
#if 0
static char sccsid[] = "@(#)inet.c 8.4 (Berkeley) 4/20/94";
#else
-__RCSID("$NetBSD: inet6.c,v 1.32 2004/11/16 05:59:32 itojun Exp $");
+__RCSID("$NetBSD: inet6.c,v 1.33 2005/02/13 03:15:18 atatat Exp $");
#endif
#endif /* not lint */
@@ -207,7 +207,7 @@
if (istcp)
printf("%8lx ", (u_long) in6pcb.in6p_ppcb);
else
- printf("%8lx ", (u_long) next);
+ printf("%8lx ", (u_long) prev);
}
printf("%-5.5s %6ld %6ld ", name, sockb.so_rcv.sb_cc,
sockb.so_snd.sb_cc);
Home |
Main Index |
Thread Index |
Old Index