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

gnrc_ipv6_nib: add debug messages for DAD + 6Lo

This commit is contained in:
Martine Sophie Lenders 2019-06-18 11:46:51 +02:00
parent 484526533d
commit f5f8261b1c

View File

@ -1031,6 +1031,8 @@ static void _handle_nbr_adv(gnrc_netif_t *netif, const ipv6_hdr_t *ipv6,
int idx = gnrc_netif_ipv6_addr_idx(tgt_netif, &nbr_adv->tgt);
if (gnrc_netif_ipv6_addr_dad_trans(tgt_netif, idx)) {
DEBUG("nib: duplicate address detected, removing target address "
"from this interface\n");
/* cancel validation timer */
evtimer_del(&_nib_evtimer,
&tgt_netif->ipv6.addrs_timers[idx].event);
@ -1087,6 +1089,7 @@ static void _handle_nbr_adv(gnrc_netif_t *netif, const ipv6_hdr_t *ipv6,
* traditional DAD */
if ((aro_status == _ADDR_REG_STATUS_UNAVAIL) &&
gnrc_netif_is_6ln(netif)) {
DEBUG("nib: No ARO in NA, falling back to classic DAD\n");
_handle_dad(&ipv6->dst);
}
#elif GNRC_IPV6_NIB_CONF_6LN