/[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.6 by adamdunkels, Wed Nov 13 08:11:52 2002 UTC revision 1.7 by jani, Thu Nov 14 12:20:37 2002 UTC
# Line 345  tcp_listen_input(struct tcp_pcb_listen * Line 345  tcp_listen_input(struct tcp_pcb_listen *
345    if(flags & TCP_ACK) {    if(flags & TCP_ACK) {
346      /* For incoming segments with the ACK flag set, respond with a      /* For incoming segments with the ACK flag set, respond with a
347         RST. */         RST. */
348      DEBUGF(TCP_RST_DEBUG, ("tcp_process: ACK in LISTEN, sending reset\n"));      DEBUGF(TCP_RST_DEBUG, ("tcp_listen_input: ACK in LISTEN, sending reset\n"));
349      tcp_rst(ackno + 1, seqno + tcplen,      tcp_rst(ackno + 1, seqno + tcplen,
350              &(iphdr->dest), &(iphdr->src),              &(iphdr->dest), &(iphdr->src),
351              tcphdr->dest, tcphdr->src);              tcphdr->dest, tcphdr->src);

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

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