[riot-notifications] [RIOT-OS/RIOT] gnrc_ipv6: add sending DEBUG output (#10769)

Gaƫtan Harter notifications at github.com
Tue Jan 15 14:14:31 CET 2019

cladmi commented on this pull request.

I correctly see the message when `ENABLE_DEBUG` is set to `1`.

When checking the implementation against the one for `Received`, I noticed a `hdr` variable was used and I find it makes it more  readable.

I tried on `samr21-xpro`, when setting a `ipv6_hdr_t *hdr = (ipv6_hdr_t *)pkt->next->data;` variable, there is no overhead and also no warning with disabled debug as `DEBUG` is implemented with `if (ENABLE_DEBUG) DEBUG_PRINT`

What do you think ?

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190115/0b4c9948/attachment.html>

More information about the notifications mailing list