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

ipv6/nib: delete route timeout when forward table entry is deleted

This commit is contained in:
Fabian Hüßler 2022-11-11 13:09:47 +01:00 committed by Fabian Hüßler
parent de4142de37
commit f8a64e74c4

View File

@ -733,6 +733,7 @@ static inline _nib_offl_entry_t *_nib_ft_add(const ipv6_addr_t *next_hop,
*/
static inline void _nib_ft_remove(_nib_offl_entry_t *nib_offl)
{
_evtimer_del(&nib_offl->route_timeout);
_nib_offl_remove(nib_offl, _FT);
}
#endif /* CONFIG_GNRC_IPV6_NIB_ROUTER */