From 2b44f809fb23db45265e83b5a8974af474cf6cd8 Mon Sep 17 00:00:00 2001 From: joxe Date: Tue, 16 Mar 2010 14:11:46 +0000 Subject: [PATCH] added support for extending route entries --- core/net/uip-ds6.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/core/net/uip-ds6.h b/core/net/uip-ds6.h index 8c912a95d..50475b35d 100755 --- a/core/net/uip-ds6.h +++ b/core/net/uip-ds6.h @@ -225,8 +225,11 @@ typedef struct uip_ds6_route { uint8_t isused; uip_ipaddr_t ipaddr; uint8_t length; - uip_ipaddr_t nexthop; uint8_t metric; + uip_ipaddr_t nexthop; +#ifdef UIP_DS6_ROUTE_STATE_TYPE + UIP_DS6_ROUTE_STATE_TYPE state; +#endif } uip_ds6_route_t; /** \brief Interface structure (contains all the interface variables) */