From 6e31ce7c74b2e86aa0645ed8b68a6b79beab4234 Mon Sep 17 00:00:00 2001 From: Martine Lenders Date: Thu, 7 Jun 2018 10:14:52 +0200 Subject: [PATCH] gnrc_netif: increase number of maximum IPv6 groups --- sys/include/net/gnrc/netif/conf.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/sys/include/net/gnrc/netif/conf.h b/sys/include/net/gnrc/netif/conf.h index 7a1373f21a..088c8bd5f0 100644 --- a/sys/include/net/gnrc/netif/conf.h +++ b/sys/include/net/gnrc/netif/conf.h @@ -74,7 +74,7 @@ extern "C" { * @ref GNRC_NETIF_IPV6_GROUPS_NUMOF is also large enough to fit the * addresses' solicited nodes multicast addresses. * - * Default: 2 (link-local + corresponding global address) + * Default: 2 (1 link-local + 1 global address) */ #ifndef GNRC_NETIF_IPV6_ADDRS_NUMOF #define GNRC_NETIF_IPV6_ADDRS_NUMOF (2) @@ -83,11 +83,13 @@ extern "C" { /** * @brief Maximum number of multicast groups per interface * - * Default: 2 (all-nodes + solicited-nodes of link-local and global unicast + * Default: 3 (all-nodes + solicited-nodes of link-local and global unicast * address) + @ref GNRC_NETIF_RPL_ADDR + @ref GNRC_NETIF_IPV6_RTR_ADDR */ #ifndef GNRC_NETIF_IPV6_GROUPS_NUMOF -#define GNRC_NETIF_IPV6_GROUPS_NUMOF (2 + GNRC_NETIF_RPL_ADDR + GNRC_NETIF_IPV6_RTR_ADDR) +#define GNRC_NETIF_IPV6_GROUPS_NUMOF (GNRC_NETIF_IPV6_ADDRS_NUMOF + \ + GNRC_NETIF_RPL_ADDR + \ + GNRC_NETIF_IPV6_RTR_ADDR + 1) #endif /**