From 5a89c19b5e9cafafe0cd61bfc1ca8f3ec07d9adc Mon Sep 17 00:00:00 2001 From: adamdunkels Date: Sun, 9 Dec 2007 15:43:51 +0000 Subject: [PATCH] Changed to store neighbors' rtmetrics as 16 bit valued --- core/net/rime/neighbor.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/net/rime/neighbor.h b/core/net/rime/neighbor.h index 70c54fe29..41d32ffdb 100644 --- a/core/net/rime/neighbor.h +++ b/core/net/rime/neighbor.h @@ -38,7 +38,7 @@ * * This file is part of the Contiki operating system. * - * $Id: neighbor.h,v 1.8 2007/11/26 23:30:13 adamdunkels Exp $ + * $Id: neighbor.h,v 1.9 2007/12/09 15:43:51 adamdunkels Exp $ */ /** @@ -59,7 +59,7 @@ struct neighbor { uint16_t time; rimeaddr_t addr; - uint8_t rtmetric; + uint16_t rtmetric; uint8_t etxptr; uint8_t etxs[NEIGHBOR_NUM_ETXS]; };