Increased the width of dio_next_delay to avoid possible wrappings

This commit is contained in:
nvt-se 2010-12-15 12:24:00 +00:00
parent 486f202d09
commit 542bbd4b31

View File

@ -30,7 +30,7 @@
*
* Author: Joakim Eriksson, Nicolas Tsiftes
*
* $Id: rpl.h,v 1.25 2010/12/13 10:59:37 joxe Exp $
* $Id: rpl.h,v 1.26 2010/12/15 12:24:00 nvt-se Exp $
*/
#ifndef RPL_H
@ -303,7 +303,7 @@ struct rpl_dag {
uint16_t dio_totsend;
uint16_t dio_totrecv;
#endif /* RPL_CONF_STATS */
uint16_t dio_next_delay; /* delay for completion of dio interval */
uint32_t dio_next_delay; /* delay for completion of dio interval */
struct ctimer dio_timer;
struct ctimer dao_timer;
rpl_parent_t *preferred_parent;