mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
6lowpan: do not send NAs for new MC addresses
This commit is contained in:
parent
5df45329b1
commit
0cc4f57fc0
@ -88,7 +88,8 @@ static ipv6_addr_t *_add_addr_to_entry(gnrc_ipv6_netif_t *entry, const ipv6_addr
|
|||||||
tmp_addr->flags = flags;
|
tmp_addr->flags = flags;
|
||||||
|
|
||||||
#ifdef MODULE_GNRC_SIXLOWPAN_ND
|
#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();
|
ipv6_addr_t *router = gnrc_ndp_internal_default_router();
|
||||||
if (router != NULL) {
|
if (router != NULL) {
|
||||||
tmp_addr->flags |= GNRC_IPV6_NETIF_ADDR_FLAGS_TENTATIVE;
|
tmp_addr->flags |= GNRC_IPV6_NETIF_ADDR_FLAGS_TENTATIVE;
|
||||||
|
Loading…
Reference in New Issue
Block a user