sixlowpan nd: add missing breaks for switch-case
This commit is contained in:
parent
c25223cc58
commit
d7546d0f0c
@ -295,6 +295,7 @@ uint8_t gnrc_sixlowpan_nd_opt_ar_handle(kernel_pid_t iface, ipv6_hdr_t *ipv6, ui
|
|||||||
DEBUG("6lo nd: unknown status for registration received\n");
|
DEBUG("6lo nd: unknown status for registration received\n");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
break;
|
||||||
#ifdef MODULE_GNRC_SIXLOWPAN_ND_ROUTER
|
#ifdef MODULE_GNRC_SIXLOWPAN_ND_ROUTER
|
||||||
case ICMPV6_NBR_SOL:
|
case ICMPV6_NBR_SOL:
|
||||||
if (!(ipv6_iface->flags & GNRC_IPV6_NETIF_FLAGS_SIXLOWPAN) &&
|
if (!(ipv6_iface->flags & GNRC_IPV6_NETIF_FLAGS_SIXLOWPAN) &&
|
||||||
@ -339,6 +340,7 @@ uint8_t gnrc_sixlowpan_nd_opt_ar_handle(kernel_pid_t iface, ipv6_hdr_t *ipv6, ui
|
|||||||
vtimer_set_msg(&nc_entry->type_timeout, timex_set(reg_ltime * 60, 0),
|
vtimer_set_msg(&nc_entry->type_timeout, timex_set(reg_ltime * 60, 0),
|
||||||
gnrc_ipv6_pid, GNRC_SIXLOWPAN_ND_MSG_AR_TIMEOUT, nc_entry);
|
gnrc_ipv6_pid, GNRC_SIXLOWPAN_ND_MSG_AR_TIMEOUT, nc_entry);
|
||||||
}
|
}
|
||||||
|
break;
|
||||||
#endif
|
#endif
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user