Fix a typo.

X-MFC-with:	229665
This commit is contained in:
Sergey Kandaurov 2012-01-06 00:23:17 +00:00
parent 9bea89c1b0
commit 4f7fca1ca1

View File

@ -242,7 +242,7 @@ tcp_twstart(struct tcpcb *tp)
/*
* Recover last window size sent.
*/
if (SEQ_GE(tp->rcv_adv, tp->rcv_nxt))
if (SEQ_GEQ(tp->rcv_adv, tp->rcv_nxt))
tw->last_win = (tp->rcv_adv - tp->rcv_nxt) >> tp->rcv_scale;
else
tw->last_win = 0;