changelog shortlog tags branches files raw gz bz2 help

Mercurial > hg > plan9front / changeset: devip: fix swapped tcp snd.scale and recv.scale in tcpstate() format (thanks joe9)

changeset 6892: 5af85d7f176a
parent 6891: 9ae9d496c4aa
child 6893: b5e6c7796c9c
author: cinap_lenrek@felloff.net
date: Sun, 18 Nov 2018 04:14:41 +0100
files: sys/src/9/ip/tcp.c
description: devip: fix swapped tcp snd.scale and recv.scale in tcpstate() format (thanks joe9)
     1.1--- a/sys/src/9/ip/tcp.c
     1.2+++ b/sys/src/9/ip/tcp.c
     1.3@@ -497,7 +497,7 @@ tcpstate(Conv *c, char *state, int n)
     1.4 		c->wq ? qlen(c->wq) : 0,
     1.5 		s->nreseq, s->reseqlen,
     1.6 		s->srtt, s->mdev, s->ssthresh,
     1.7-		s->cwind, s->snd.wnd, s->rcv.scale, s->rcv.wnd, s->snd.scale,
     1.8+		s->cwind, s->snd.wnd, s->snd.scale, s->rcv.wnd, s->rcv.scale,
     1.9 		s->qscale,
    1.10 		s->timer.start, s->timer.count, s->rerecv,
    1.11 		s->katimer.start, s->katimer.count);