From 4cca2ff31fcde2eb0d4413c5e9cb0f8701bff5ba Mon Sep 17 00:00:00 2001 From: David du Colombier <0intro@gmail.com> Date: Sun, 14 Mar 1993 00:00:00 +0000 Subject: [PATCH] Plan 9 from Bell Labs 1993-03-14 --- port/devip.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/port/devip.c b/port/devip.c index 4829492cbff712a0a37d98eef26dcb4dbbf9e1d2..007b399fa7d6321098e685ceb89e845a0002b206 100644 --- a/port/devip.c +++ b/port/devip.c @@ -764,9 +764,10 @@ ipstatusfill(Chan *c, char *buf, int len) connection = STREAMID(c->qid.path); cp = ipcreateconv(ipifc[c->dev], connection); if(cp->ifc->protop == &tcpinfo) - sprint(buf, "tcp/%d %d %s %s\n", connection, cp->ref, + sprint(buf, "tcp/%d %d %s %s %d+%d\n", connection, cp->ref, tcpstate[cp->tcpctl.state], - cp->tcpctl.flags & CLONE ? "listen" : "connect"); + cp->tcpctl.flags & CLONE ? "listen" : "connect", + cp->tcpctl.srtt, cp->tcpctl.mdev); else if(cp->ifc->protop == &ilinfo) sprint(buf, "il/%d %d %s rtt %d ms %d csum\n", connection, cp->ref, ilstate[cp->ilctl.state], cp->ilctl.rtt,