From 0cc4f57fc03ef4ec581b80d78ea66d4234798897 Mon Sep 17 00:00:00 2001 From: Oleg Hahm Date: Thu, 24 Sep 2015 00:00:42 +0200 Subject: [PATCH] 6lowpan: do not send NAs for new MC addresses --- sys/net/gnrc/network_layer/ipv6/netif/gnrc_ipv6_netif.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/net/gnrc/network_layer/ipv6/netif/gnrc_ipv6_netif.c b/sys/net/gnrc/network_layer/ipv6/netif/gnrc_ipv6_netif.c index 82d0cfa8e4..cabd1f1b47 100644 --- a/sys/net/gnrc/network_layer/ipv6/netif/gnrc_ipv6_netif.c +++ b/sys/net/gnrc/network_layer/ipv6/netif/gnrc_ipv6_netif.c @@ -88,7 +88,8 @@ static ipv6_addr_t *_add_addr_to_entry(gnrc_ipv6_netif_t *entry, const ipv6_addr tmp_addr->flags = flags; #ifdef MODULE_GNRC_SIXLOWPAN_ND - if (entry->flags & GNRC_IPV6_NETIF_FLAGS_SIXLOWPAN) { + if (!ipv6_addr_is_multicast(&(tmp_addr->addr)) && + (entry->flags & GNRC_IPV6_NETIF_FLAGS_SIXLOWPAN)) { ipv6_addr_t *router = gnrc_ndp_internal_default_router(); if (router != NULL) { tmp_addr->flags |= GNRC_IPV6_NETIF_ADDR_FLAGS_TENTATIVE;