Merge pull request #5070 from cgundogan/pr/gnrc_ipv6_nc/remove_timers
gnrc_ipv6_nc: remove nc_entry timers
This commit is contained in:
commit
ad40c208c1
@ -175,6 +175,10 @@ void gnrc_ipv6_nc_remove(kernel_pid_t iface, const ipv6_addr_t *ipv6_addr)
|
|||||||
xtimer_remove(&entry->rtr_adv_timer);
|
xtimer_remove(&entry->rtr_adv_timer);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
xtimer_remove(&entry->rtr_timeout);
|
||||||
|
xtimer_remove(&entry->nbr_sol_timer);
|
||||||
|
xtimer_remove(&entry->nbr_adv_timer);
|
||||||
|
|
||||||
ipv6_addr_set_unspecified(&(entry->ipv6_addr));
|
ipv6_addr_set_unspecified(&(entry->ipv6_addr));
|
||||||
entry->iface = KERNEL_PID_UNDEF;
|
entry->iface = KERNEL_PID_UNDEF;
|
||||||
entry->flags = 0;
|
entry->flags = 0;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user