[riot-notifications] [RIOT-OS/RIOT] gnrc_ipv6: gnrc_icmpv6: simplify access to network interfaces (#8214)

Martine Lenders notifications at github.com
Thu Dec 7 14:53:51 CET 2017

miri64 commented on this pull request.

>      if (ipv6_addr_is_multicast(&hdr->dst)) {
         _send_multicast(netif, pkt, ipv6, payload, prep_hdr);
-    else if ((ipv6_addr_is_loopback(&hdr->dst)) ||      /* dst is loopback address */
-             ((iface == KERNEL_PID_UNDEF) && /* or dst registered to any local interface */

There is no equivalent to this line, that's why so `netif` pre-selected above is overwritten in the in the line below.

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/20171207/34fbd45b/attachment.html>

More information about the notifications mailing list