From 88a0ecfe483b2d832b3719c437a54d11b49d653d Mon Sep 17 00:00:00 2001 From: Alexander Bluhm Date: Tue, 5 Jul 2011 05:14:42 +0000 Subject: Add so_idletv to netstat -vP pcb-address output. ok mikeb@ --- usr.bin/netstat/inet.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'usr.bin') diff --git a/usr.bin/netstat/inet.c b/usr.bin/netstat/inet.c index b3fdc015bc9..3df11b39114 100644 --- a/usr.bin/netstat/inet.c +++ b/usr.bin/netstat/inet.c @@ -1,4 +1,4 @@ -/* $OpenBSD: inet.c,v 1.117 2011/03/18 22:34:58 sthen Exp $ */ +/* $OpenBSD: inet.c,v 1.118 2011/07/05 05:14:41 bluhm Exp $ */ /* $NetBSD: inet.c,v 1.14 1995/10/03 21:42:37 thorpej Exp $ */ /* @@ -1193,7 +1193,9 @@ socket_dump(u_long off) p("%p", so_splice, ", "); p("%p", so_spliceback, "\n "); p("%lld", so_splicelen, ", "); - p("%lld", so_splicemax, "\n "); + p("%lld", so_splicemax, ", "); + p("%ld", so_idletv.tv_sec, ", "); + p("%ld", so_idletv.tv_usec, "\n "); sockbuf_dump(&so.so_rcv, "so_rcv"); sockbuf_dump(&so.so_snd, "so_snd"); p("%u", so_euid, ", "); -- cgit v1.2.3