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

Merge pull request #18801 from benpicco/gnrc_nib_full-debug

gnrc_ipv6_nib: add debug output when nib is full on address resolution
This commit is contained in:
benpicco 2022-10-27 12:49:29 +02:00 committed by GitHub
commit 4ebece5d34
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1312,6 +1312,7 @@ static bool _resolve_addr(const ipv6_addr_t *dst, gnrc_netif_t *netif,
entry = _nib_nc_add(dst, (netif != NULL) ? netif->pid : 0,
GNRC_IPV6_NIB_NC_INFO_NUD_STATE_INCOMPLETE);
if (entry == NULL) {
DEBUG("nib: can't resolve address, neighbor cache full\n");
gnrc_pktbuf_release(pkt);
return false;
}