Skip to content
Snippets Groups Projects
Unverified Commit 892c7a54 authored by Martine Lenders's avatar Martine Lenders Committed by GitHub
Browse files

Merge pull request #10866 from miri64/gnrc_sixlowpan/fix/type-finding-loop

gnrc_sixlowpan: stop type-finding loop when type is found
parents 8984a9b8 879321d6
No related branches found
No related tags found
No related merge requests found
......@@ -73,6 +73,7 @@ void gnrc_sixlowpan_dispatch_recv(gnrc_pktsnip_t *pkt, void *context,
ptr = ptr->next) {
if ((ptr->next) && (ptr->next->type == GNRC_NETTYPE_NETIF)) {
type = ptr->type;
break;
}
}
#else /* MODULE_GNRC_IPV6 */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment