mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
Merge pull request #3916 from OlegHahm/6lowpan_rtr_adv_mc_timer
6lowpan nc: rtr sol timer expects an interface
This commit is contained in:
commit
3448569eb8
@ -225,9 +225,10 @@ void gnrc_sixlowpan_nd_rtr_sol_reschedule(gnrc_ipv6_nc_t *nce, uint32_t sec_dela
|
||||
{
|
||||
assert(nce != NULL);
|
||||
assert(sec_delay != 0U);
|
||||
vtimer_remove(&nce->rtr_sol_timer);
|
||||
vtimer_set_msg(&nce->rtr_sol_timer, timex_set(sec_delay, 0), gnrc_ipv6_pid,
|
||||
GNRC_SIXLOWPAN_ND_MSG_MC_RTR_SOL, nce);
|
||||
gnrc_ipv6_netif_t *iface = gnrc_ipv6_netif_get(nce->iface);
|
||||
vtimer_remove(&iface->rtr_sol_timer);
|
||||
vtimer_set_msg(&iface->rtr_sol_timer, timex_set(sec_delay, 0), gnrc_ipv6_pid,
|
||||
GNRC_SIXLOWPAN_ND_MSG_MC_RTR_SOL, iface);
|
||||
}
|
||||
|
||||
gnrc_pktsnip_t *gnrc_sixlowpan_nd_opt_ar_build(uint8_t status, uint16_t ltime, eui64_t *eui64,
|
||||
|
Loading…
Reference in New Issue
Block a user