diff --git a/core/net/uip.c b/core/net/uip.c index 2aa22ac9c..40701c790 100644 --- a/core/net/uip.c +++ b/core/net/uip.c @@ -41,7 +41,7 @@ * * This file is part of the uIP TCP/IP stack. * - * $Id: uip.c,v 1.17 2009/10/27 22:34:08 adamdunkels Exp $ + * $Id: uip.c,v 1.18 2009/10/27 23:09:58 adamdunkels Exp $ * */ @@ -696,7 +696,7 @@ uip_process(u8_t flag) #if UIP_ACTIVE_OPEN } else if((uip_connr->tcpstateflags & UIP_TS_MASK) == UIP_SYN_SENT) { /* In the SYN_SENT state, we retransmit out SYN. */ - UIP_TCP_BUF->flags = 0; + BUF->flags = 0; goto tcp_send_syn; #endif /* UIP_ACTIVE_OPEN */ }