1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-25 06:23:53 +01:00

Merge pull request #4292 from OlegHahm/fib_rpl_config

fib: make FIB size dependent on existence of RPL
This commit is contained in:
Cenk Gündoğan 2015-11-17 18:53:11 +01:00
commit cb8f50ce40

View File

@ -83,7 +83,13 @@ extern kernel_pid_t gnrc_ipv6_pid;
/**
* @brief Maximum number of entries in the IPv6 FIB table.
*/
#define GNRC_IPV6_FIB_TABLE_SIZE (20)
#ifndef GNRC_IPV6_FIB_TABLE_SIZE
# ifdef MODULE_GNRC_RPL
# define GNRC_IPV6_FIB_TABLE_SIZE (20)
# else
# define GNRC_IPV6_FIB_TABLE_SIZE (5)
# endif
#endif
/**
* @brief The forwarding information base (FIB) for the IPv6 stack.