Merge pull request #4203 from BytesGalore/fib_use_universal_address_size

net/fib: use `UNIVERSAL_ADDRESS_SIZE` instead of substitute
This commit is contained in:
Cenk Gündoğan 2015-11-02 12:14:21 +01:00
commit 1cf60b8fa3

View File

@ -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;