[riot-notifications] [RIOT] ndp: pio - check if prefix has been processed before (#3836)

Cenk Gündoğan notifications at github.com
Mon Sep 14 13:21:25 CEST 2015


> @@ -363,11 +363,32 @@ static bool _pio_from_iface_addr(gnrc_pktsnip_t **res, gnrc_ipv6_netif_addr_t *a
>      return false;
>  }
>  
> +static inline bool _check_prefixes(gnrc_ipv6_netif_addr_t *a, gnrc_ipv6_netif_addr_t *b)
> +{
> +    if ((a->prefix_len < 128U) && (a->prefix_len == b->prefix_len) &&

sorry, you are absolutely right

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


More information about the notifications mailing list