[riot-notifications] [RIOT] gnrc 6lowpan: minor fixes (#3974)

Martine Lenders notifications at github.com
Fri Sep 25 20:59:23 CEST 2015


> @@ -216,7 +214,10 @@ static void _send(gnrc_pktsnip_t *pkt)
>  
>      hdr = pkt2->data;
>      iface = gnrc_sixlowpan_netif_get(hdr->if_pid);
> -    datagram_size = gnrc_pkt_len(pkt2->next);
> +#ifdef MODULE_GNRC_SIXLOWPAN_FRAG
> +    /* datagram_size: pure IPv6 packet without 6LoWPAN dispatches or compression */
> +    size_t datagram_size = gnrc_pkt_len(pkt2->next);

Please replace this variable wit the function call in https://github.com/RIOT-OS/RIOT/pull/3974/files#diff-e87e12a912a7eb2cbb8a16f4ebeccabaR281 (and other places I might have overlooked).

---
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/3974/files#r40464378
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20150925/230b98e7/attachment-0001.html>


More information about the notifications mailing list