/[lwip]/lwip/src/core/tcp_in.c
ViewVC logotype

Diff of /lwip/src/core/tcp_in.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.51 by kieranm, Sun Sep 12 16:34:06 2004 UTC revision 1.52 by kieranm, Mon Sep 20 16:53:48 2004 UTC
# Line 1122  tcp_receive(struct tcp_pcb *pcb) Line 1122  tcp_receive(struct tcp_pcb *pcb)
1122                } else                } else
1123                  /*if (TCP_SEQ_LT(prev->tcphdr->seqno, seqno) &&                  /*if (TCP_SEQ_LT(prev->tcphdr->seqno, seqno) &&
1124                    TCP_SEQ_LT(seqno, next->tcphdr->seqno)) {*/                    TCP_SEQ_LT(seqno, next->tcphdr->seqno)) {*/
1125                  if(TCP_SEQ_BETWEEN(seqno, prev->tcphdr->seqno, next->tcphdr->seqno-1)){                  if(TCP_SEQ_BETWEEN(seqno, prev->tcphdr->seqno+1, next->tcphdr->seqno-1)){
1126                  /* The sequence number of the incoming segment is in                  /* The sequence number of the incoming segment is in
1127                     between the sequence numbers of the previous and                     between the sequence numbers of the previous and
1128                     the next segment on ->ooseq. We trim and insert the                     the next segment on ->ooseq. We trim and insert the

Legend:
Removed from v.1.51  
changed lines
  Added in v.1.52

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26