shithub: riscv

Download patch

ref: 196da4ec6f429683a351312d1f0bcb05847e7f89
parent: 064ea89caa3d8b2183ad5827ee124c1213286e0c
author: cinap_lenrek <[email protected]>
date: Sat Nov 17 23:14:41 EST 2018

devip: fix swapped tcp snd.scale and recv.scale in tcpstate() format (thanks joe9)

--- a/sys/src/9/ip/tcp.c
+++ b/sys/src/9/ip/tcp.c
@@ -497,7 +497,7 @@
 		c->wq ? qlen(c->wq) : 0,
 		s->nreseq, s->reseqlen,
 		s->srtt, s->mdev, s->ssthresh,
-		s->cwind, s->snd.wnd, s->rcv.scale, s->rcv.wnd, s->snd.scale,
+		s->cwind, s->snd.wnd, s->snd.scale, s->rcv.wnd, s->rcv.scale,
 		s->qscale,
 		s->timer.start, s->timer.count, s->rerecv,
 		s->katimer.start, s->katimer.count);