mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-31 17:31:18 +01:00
Merge pull request #3243 from BytesGalore/ndp_comment_on_fall_through
ndp: added a word why we fall through into `NG_IPV6_NC_STATE_DELAY`
This commit is contained in:
commit
b2efe73f87
@ -940,8 +940,7 @@ static void _set_state(ng_ipv6_nc_t *nc_entry, uint8_t state)
|
||||
case NG_IPV6_NC_STATE_REACHABLE:
|
||||
ipv6_iface = ng_ipv6_netif_get(nc_entry->iface);
|
||||
t = ipv6_iface->reach_time;
|
||||
vtimer_remove(&nc_entry->nbr_sol_timer);
|
||||
|
||||
/* we intentionally fall through here to set the desired timeout t */
|
||||
case NG_IPV6_NC_STATE_DELAY:
|
||||
vtimer_remove(&nc_entry->nbr_sol_timer);
|
||||
vtimer_set_msg(&nc_entry->nbr_sol_timer, t, ng_ipv6_pid,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user