mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-07-25 02:29:04 +00:00
Must reset uip_slen to zero after transmit to avoid confusing uIP if it is invoked after this function
This commit is contained in:
parent
58b7f8de5b
commit
e117830406
@ -28,7 +28,7 @@
|
|||||||
*
|
*
|
||||||
* This file is part of the Contiki operating system.
|
* This file is part of the Contiki operating system.
|
||||||
*
|
*
|
||||||
* $Id: uip-udp-packet.c,v 1.1 2006/08/31 09:35:27 adamdunkels Exp $
|
* $Id: uip-udp-packet.c,v 1.2 2006/09/26 22:12:59 adamdunkels Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -55,5 +55,6 @@ uip_udp_packet_send(struct uip_udp_conn *c, char *data, int len)
|
|||||||
if(uip_len > 0) {
|
if(uip_len > 0) {
|
||||||
tcpip_output();
|
tcpip_output();
|
||||||
}
|
}
|
||||||
|
uip_slen = 0;
|
||||||
}
|
}
|
||||||
/*---------------------------------------------------------------------------*/
|
/*---------------------------------------------------------------------------*/
|
||||||
|
Loading…
Reference in New Issue
Block a user