<p>In <a href="https://github.com/RIOT-OS/RIOT/pull/3839#discussion_r39437664">sys/net/gnrc/network_layer/sixlowpan/nd/gnrc_sixlowpan_nd.c</a>:</p>
<pre style='color:#555'>> @@ -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;
</pre>
<p>Question: There are two other lines like this in the ndp code [1] [2]. Would it make sense to expose <strong>one</strong> declaration instead and reuse it everywhere?</p>

<p>[1] <a href="https://github.com/RIOT-OS/RIOT/blob/master/sys/net/gnrc/network_layer/ndp/internal/gnrc_ndp_internal.c#L307">https://github.com/RIOT-OS/RIOT/blob/master/sys/net/gnrc/network_layer/ndp/internal/gnrc_ndp_internal.c#L307</a><br>
[2] <a href="https://github.com/RIOT-OS/RIOT/blob/master/sys/net/gnrc/network_layer/ndp/router/gnrc_ndp_router.c#L31">https://github.com/RIOT-OS/RIOT/blob/master/sys/net/gnrc/network_layer/ndp/router/gnrc_ndp_router.c#L31</a></p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/RIOT-OS/RIOT/pull/3839/files#r39437664">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AEn7YBB8asN_Dz3orb0aWn-5PYKJonPdks5oxxrVgaJpZM4F9FMa.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/RIOT-OS/RIOT/pull/3839/files#r39437664"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>