1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

gnrc/nib: Move GNRC_IPV6_NIB_CONF_ADV_ROUTER to 'CONFIG_' namespace

This commit is contained in:
Leandro Lanzieri 2020-03-12 15:58:39 +01:00
parent bad9abd349
commit 42fb2fe09f
No known key found for this signature in database
GPG Key ID: 39607DE6080007A3

View File

@ -126,12 +126,12 @@ extern "C" {
/**
* @brief (de-)activate router advertising at interface start-up
*/
#ifndef GNRC_IPV6_NIB_CONF_ADV_ROUTER
#ifndef CONFIG_GNRC_IPV6_NIB_ADV_ROUTER
#if CONFIG_GNRC_IPV6_NIB_ROUTER && \
(!CONFIG_GNRC_IPV6_NIB_6LR || CONFIG_GNRC_IPV6_NIB_6LBR)
#define GNRC_IPV6_NIB_CONF_ADV_ROUTER 1
#define CONFIG_GNRC_IPV6_NIB_ADV_ROUTER 1
#else
#define GNRC_IPV6_NIB_CONF_ADV_ROUTER 0
#define CONFIG_GNRC_IPV6_NIB_ADV_ROUTER 0
#endif
#endif