summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2018-11-18 04:14:41 +0100
committercinap_lenrek <cinap_lenrek@felloff.net>2018-11-18 04:14:41 +0100
commit196da4ec6f429683a351312d1f0bcb05847e7f89 (patch)
tree1bdac32a4c655ce119868b6ffd2757ab46177773
parent064ea89caa3d8b2183ad5827ee124c1213286e0c (diff)
devip: fix swapped tcp snd.scale and recv.scale in tcpstate() format (thanks joe9)
-rw-r--r--sys/src/9/ip/tcp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/9/ip/tcp.c b/sys/src/9/ip/tcp.c
index 467cd550d..3989ce437 100644
--- a/sys/src/9/ip/tcp.c
+++ b/sys/src/9/ip/tcp.c
@@ -497,7 +497,7 @@ tcpstate(Conv *c, char *state, int n)
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);