Bugfix: lastport must be defines both when UIP_ACTIVE_OPEN or UIP_UDP are defined (thanks Oliver!)
This commit is contained in:
parent
dd4d3446c6
commit
d8b0625e21
2 changed files with 6 additions and 6 deletions
|
@ -41,7 +41,7 @@
|
|||
*
|
||||
* This file is part of the uIP TCP/IP stack.
|
||||
*
|
||||
* $Id: uip6.c,v 1.9 2010/02/04 11:17:42 adamdunkels Exp $
|
||||
* $Id: uip6.c,v 1.10 2010/02/04 21:14:45 adamdunkels Exp $
|
||||
*
|
||||
*/
|
||||
|
||||
|
@ -200,10 +200,10 @@ struct uip_conn *uip_conn;
|
|||
static u8_t c;
|
||||
#endif
|
||||
|
||||
#if UIP_ACTIVE_OPEN
|
||||
#if UIP_ACTIVE_OPEN || UIP_UDP
|
||||
/* Keeps track of the last port used for a new connection. */
|
||||
static u16_t lastport;
|
||||
#endif /* UIP_ACTIVE_OPEN */
|
||||
#endif /* UIP_ACTIVE_OPEN || UIP_UDP */
|
||||
/** @} */
|
||||
|
||||
/*---------------------------------------------------------------------------*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue