[riot-notifications] [RIOT] gnrc_ndp_router: Initial import of router behavior of router discovery (#3049)

Oleg Hahm notifications at github.com
Wed Sep 2 19:36:35 CEST 2015


> @@ -311,6 +311,145 @@ void gnrc_ndp_internal_send_rtr_sol(kernel_pid_t iface, ipv6_addr_t *dst)
>      gnrc_netapi_send(gnrc_ipv6_pid, hdr);
>  }
>  
> +#if (defined(MODULE_GNRC_NDP_ROUTER) || defined(MODULE_GNRC_SIXLOWPAN_ND_ROUTER))
> +static bool _pio_from_iface_addr(gnrc_pktsnip_t **res, gnrc_ipv6_netif_addr_t *addr,
> +                                 gnrc_pktsnip_t *next)
> +{
> +    if (((addr->prefix_len - 1) > 127) && /* prefix_len < 1 || > 128 */

Shouldn't the comment be the other way around?

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


More information about the notifications mailing list