mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
sixlowpan nd: 6LBR shouldn't send rtr sol over 6lo
This commit is contained in:
parent
38b384c713
commit
f3f4d61f93
@ -51,9 +51,13 @@ void gnrc_sixlowpan_nd_init(gnrc_ipv6_netif_t *iface)
|
|||||||
iface->rtr_sol_count = 0; /* first will be sent immediately */
|
iface->rtr_sol_count = 0; /* first will be sent immediately */
|
||||||
|
|
||||||
DEBUG("6lo nd: retransmit multicast rtr sol in 10 sec\n");
|
DEBUG("6lo nd: retransmit multicast rtr sol in 10 sec\n");
|
||||||
|
#ifndef MODULE_GNRC_SIXLOWPAN_ND_BORDER_ROUTER
|
||||||
_rtr_sol_reschedule(iface, GNRC_SIXLOWPAN_ND_RTR_SOL_INT);
|
_rtr_sol_reschedule(iface, GNRC_SIXLOWPAN_ND_RTR_SOL_INT);
|
||||||
|
#endif
|
||||||
mutex_unlock(&iface->mutex);
|
mutex_unlock(&iface->mutex);
|
||||||
|
#ifndef MODULE_GNRC_SIXLOWPAN_ND_BORDER_ROUTER
|
||||||
gnrc_ndp_internal_send_rtr_sol(iface->pid, NULL);
|
gnrc_ndp_internal_send_rtr_sol(iface->pid, NULL);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void gnrc_sixlowpan_nd_mc_rtr_sol(gnrc_ipv6_netif_t *iface)
|
void gnrc_sixlowpan_nd_mc_rtr_sol(gnrc_ipv6_netif_t *iface)
|
||||||
|
Loading…
Reference in New Issue
Block a user