mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
gnrc/ipv6/nib: introduce CONFIG_GNRC_IPV6_NIB_MULTIHOP_P6C_AUTO_ADV
This commit is contained in:
parent
314968cf86
commit
08cf5926bc
@ -233,6 +233,13 @@ extern "C" {
|
|||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Start sending RAs when a RA has been received
|
||||||
|
*/
|
||||||
|
#ifndef CONFIG_GNRC_IPV6_NIB_MULTIHOP_P6C_AUTO_ADV
|
||||||
|
#define CONFIG_GNRC_IPV6_NIB_MULTIHOP_P6C_AUTO_ADV CONFIG_GNRC_IPV6_NIB_MULTIHOP_P6C
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Multihop duplicate address detection
|
* @brief Multihop duplicate address detection
|
||||||
*
|
*
|
||||||
|
@ -920,7 +920,7 @@ static void _handle_rtr_adv(gnrc_netif_t *netif, const ipv6_hdr_t *ipv6,
|
|||||||
}
|
}
|
||||||
#if IS_ACTIVE(CONFIG_GNRC_IPV6_NIB_6LN)
|
#if IS_ACTIVE(CONFIG_GNRC_IPV6_NIB_6LN)
|
||||||
if (gnrc_netif_is_6ln(netif) && !gnrc_netif_is_6lbr(netif)) {
|
if (gnrc_netif_is_6ln(netif) && !gnrc_netif_is_6lbr(netif)) {
|
||||||
if (IS_ACTIVE(CONFIG_GNRC_IPV6_NIB_MULTIHOP_P6C)) {
|
if (IS_ACTIVE(CONFIG_GNRC_IPV6_NIB_MULTIHOP_P6C_AUTO_ADV)) {
|
||||||
_set_rtr_adv(netif);
|
_set_rtr_adv(netif);
|
||||||
}
|
}
|
||||||
/* but re-fetch information from router in time */
|
/* but re-fetch information from router in time */
|
||||||
|
Loading…
Reference in New Issue
Block a user