From 6c49ec27e05b009376e4eeee25400aa2a9348099 Mon Sep 17 00:00:00 2001 From: BytesGalore Date: Mon, 2 Nov 2015 08:27:13 +0100 Subject: [PATCH] net/fib: use `UNIVERSAL_ADDRESS_SIZE` instead of substitute --- sys/include/net/fib.h | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/sys/include/net/fib.h b/sys/include/net/fib.h index abe714c0b4..98fe35d900 100644 --- a/sys/include/net/fib.h +++ b/sys/include/net/fib.h @@ -58,17 +58,11 @@ typedef struct rp_address_msg_t { */ #define FIB_MSG_RP_SIGNAL_SOURCE_ROUTE_CREATED (0x97) -/** - * @brief the size in bytes of a full address - * @todo replace with UNIVERSAL_ADDRESS_SIZE (#3022) -*/ -#define FIB_DESTINATION_SIZE_SUBSTITUTE (16) - /** * @brief entry used to collect available destinations */ typedef struct fib_destination_set_entry_t { - uint8_t dest[FIB_DESTINATION_SIZE_SUBSTITUTE]; /**< The destination address */ + uint8_t dest[UNIVERSAL_ADDRESS_SIZE]; /**< The destination address */ size_t dest_size; /**< The destination address size */ } fib_destination_set_entry_t;