diff --git a/usr.bin/netstat/inet6.c b/usr.bin/netstat/inet6.c index 616ff4853678..564dfe9bdeb9 100644 --- a/usr.bin/netstat/inet6.c +++ b/usr.bin/netstat/inet6.c @@ -1,4 +1,4 @@ -/* $NetBSD: inet6.c,v 1.68 2015/02/08 15:09:45 christos Exp $ */ +/* $NetBSD: inet6.c,v 1.69 2016/12/17 09:12:22 mlelstv 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.68 2015/02/08 15:09:45 christos Exp $"); +__RCSID("$NetBSD: inet6.c,v 1.69 2016/12/17 09:12:22 mlelstv Exp $"); #endif #endif /* not lint */ @@ -1494,6 +1494,9 @@ tcp6_dump(u_long off, const char *name, u_long pcbaddr) #ifdef TCP6 printf("peermaxseg %u, maxseg %u, force %d\n\n", mypcb.t_peermaxseg, mypcb.t_maxseg, mypcb.t_force); +#else + printf("peermss %u, ourmss %u, segsz %u, segqlen %u\n\n", + tcpcb.t_peermss, tcpcb.t_ourmss, tcpcb.t_segsz, tcpcb.t_segqlen); #endif printf("snd_una %u, snd_nxt %u, snd_up %u\n", @@ -1511,8 +1514,11 @@ tcp6_dump(u_long off, const char *name, u_long pcbaddr) (unsigned long long)mypcb.snd_ssthresh); #ifdef TCP6 - printf("idle %d, rtt %d, " mypcb.t_idle, mypcb.t_rtt) + printf("idle %d, rtt %d, " mypcb.t_idle, mypcb.t_rtt); +#else + printf("rcvtime %u, rtttime %u, ", tcpcb.t_rcvtime, tcpcb.t_rtttime); #endif + printf("rtseq %u, srtt %d, rttvar %d, rttmin %d, " "max_sndwnd %llu\n\n", mypcb.t_rtseq, mypcb.t_srtt, mypcb.t_rttvar, mypcb.t_rttmin,