1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-17 05:12:57 +01:00

ipv6/nib: delete prefix timeout when prefix list entry is deleted

This commit is contained in:
Fabian Hüßler 2022-11-11 12:57:27 +01:00 committed by Fabian Hüßler
parent 2d459157f1
commit de4142de37

View File

@ -660,6 +660,7 @@ int _nib_get_route(const ipv6_addr_t *dst, gnrc_pktsnip_t *pkt,
void _nib_pl_remove(_nib_offl_entry_t *nib_offl)
{
_evtimer_del(&nib_offl->pfx_timeout);
_nib_offl_remove(nib_offl, _PL);
#if IS_ACTIVE(CONFIG_GNRC_IPV6_NIB_MULTIHOP_P6C)
unsigned idx = _idx_dsts(nib_offl);