[riot-notifications] [RIOT] 6lowpan nd: router fixes (#3839)

Martine Lenders notifications at github.com
Wed Sep 16 23:20:58 CEST 2015


> @@ -56,6 +56,22 @@ void gnrc_sixlowpan_nd_init(gnrc_ipv6_netif_t *iface)
>      gnrc_ndp_internal_send_rtr_sol(iface->pid, NULL);
>  }
>  
> +void gnrc_sixlowpan_nd_router_set_rtr_adv(gnrc_ipv6_netif_t *netif, bool enable)
> +{
> +    ipv6_addr_t all_routers = IPV6_ADDR_ALL_ROUTERS_LINK_LOCAL;

Me neither, that's exactly the point of local variables: they are discard-able, they only need to exist when they are needed. Global addresses on the other hand are always in memory, even if they are not in use.

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


More information about the notifications mailing list