From 542bbd4b31127b329ca372ace9b30fe37da4c2d5 Mon Sep 17 00:00:00 2001 From: nvt-se Date: Wed, 15 Dec 2010 12:24:00 +0000 Subject: [PATCH] Increased the width of dio_next_delay to avoid possible wrappings --- core/net/rpl/rpl.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/net/rpl/rpl.h b/core/net/rpl/rpl.h index 03fd74567..636028e03 100644 --- a/core/net/rpl/rpl.h +++ b/core/net/rpl/rpl.h @@ -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;