[riot-notifications] [RIOT] 6lowpan: some border router fixes (#3917)

Martine Lenders notifications at github.com
Mon Sep 21 20:54:38 CEST 2015


>  #ifdef MODULE_GNRC_NDP_ROUTER
>                  /* New prefixes MAY allow the router to retransmit up to
>                   * GNRC_NDP_MAX_INIT_RTR_ADV_NUMOF unsolicited RA
>                   * (see https://tools.ietf.org/html/rfc4861#section-6.2.4) */
> -                entry->rtr_adv_count = GNRC_NDP_MAX_INIT_RTR_ADV_NUMOF;
> -                gnrc_ndp_router_retrans_rtr_adv(entry);
> -#elif defined(MODULE_GNRC_SIXLOWPAN_ND_ROUTER)
> -                if (entry->flags & GNRC_IPV6_NETIF_FLAGS_SIXLOWPAN) {
> -                    gnrc_ndp_internal_send_rtr_adv(entry->pid, &tmp_addr->addr,
> -                                                   NULL, false);
> +                else {

This would break normal IPv6 brouters, since the `else` has no corresponding `if` there.

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


More information about the notifications mailing list