Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/netstat tcp_dump(): Also print the address of the in...
details: https://anonhg.NetBSD.org/src/rev/9867bbb8f9e2
branches: trunk
changeset: 514808:9867bbb8f9e2
user: thorpej <thorpej%NetBSD.org@localhost>
date: Mon Sep 10 22:19:03 2001 +0000
description:
tcp_dump(): Also print the address of the in6pcb.
diffstat:
usr.bin/netstat/inet.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (29 lines):
diff -r e1ba8388715c -r 9867bbb8f9e2 usr.bin/netstat/inet.c
--- a/usr.bin/netstat/inet.c Mon Sep 10 22:17:33 2001 +0000
+++ b/usr.bin/netstat/inet.c Mon Sep 10 22:19:03 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: inet.c,v 1.48 2001/09/10 22:17:28 thorpej Exp $ */
+/* $NetBSD: inet.c,v 1.49 2001/09/10 22:19:03 thorpej Exp $ */
/*
* Copyright (c) 1983, 1988, 1993
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "from: @(#)inet.c 8.4 (Berkeley) 4/20/94";
#else
-__RCSID("$NetBSD: inet.c,v 1.48 2001/09/10 22:17:28 thorpej Exp $");
+__RCSID("$NetBSD: inet.c,v 1.49 2001/09/10 22:19:03 thorpej Exp $");
#endif
#endif /* not lint */
@@ -678,8 +678,8 @@
printf("State: %d", tcpcb.t_state);
else
printf("State: %s", tcpstates[tcpcb.t_state]);
- printf(", flags 0x%x, inpcb 0x%lx\n\n", tcpcb.t_flags,
- (u_long)tcpcb.t_inpcb);
+ printf(", flags 0x%x, inpcb 0x%lx, in6pcb 0x%lx\n\n", tcpcb.t_flags,
+ (u_long)tcpcb.t_inpcb, (u_long)tcpcb.t_in6pcb);
printf("rxtshift %d, rxtcur %d, dupacks %d\n", tcpcb.t_rxtshift,
tcpcb.t_rxtcur, tcpcb.t_dupacks);
Home |
Main Index |
Thread Index |
Old Index