From 28016ee416c03d7723445b03566ea39e831f5c76 Mon Sep 17 00:00:00 2001 From: Benjamin Valentin Date: Thu, 23 Jan 2025 13:30:53 +0100 Subject: [PATCH 1/2] gnrc/ipv6/nib: make CONFIG_GNRC_IPV6_STATIC_LLADDR_IS_FIXED the default The auto-increment is very surprising and no actual use-cases for it are known. --- sys/include/net/gnrc/ipv6.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/include/net/gnrc/ipv6.h b/sys/include/net/gnrc/ipv6.h index 4c0594b38b..67f26377f0 100644 --- a/sys/include/net/gnrc/ipv6.h +++ b/sys/include/net/gnrc/ipv6.h @@ -178,7 +178,7 @@ extern "C" { * set static address but use the same static link local address for all interfaces. */ #ifndef CONFIG_GNRC_IPV6_STATIC_LLADDR_IS_FIXED -#define CONFIG_GNRC_IPV6_STATIC_LLADDR_IS_FIXED 0 +#define CONFIG_GNRC_IPV6_STATIC_LLADDR_IS_FIXED 1 #endif /** From 2374b9e2f18aea0926cebf8bc94a7298145e4419 Mon Sep 17 00:00:00 2001 From: Benjamin Valentin Date: Thu, 23 Jan 2025 13:32:45 +0100 Subject: [PATCH 2/2] gnrc/ipv6/nib: deprecate CONFIG_GNRC_IPV6_STATIC_LLADDR_IS_FIXED This should just be the only behavior of CONFIG_GNRC_IPV6_STATIC_LLADDR. --- sys/include/net/gnrc/ipv6.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sys/include/net/gnrc/ipv6.h b/sys/include/net/gnrc/ipv6.h index 67f26377f0..00720ae382 100644 --- a/sys/include/net/gnrc/ipv6.h +++ b/sys/include/net/gnrc/ipv6.h @@ -174,6 +174,10 @@ extern "C" { /** * @brief Use the same static IPv6 link local address on every network interface * + * @deprecated Will be removed after release 2025.07 - after this the static link-local + * address will always be fixed unless a use-case for the auto-increment + * can be found. + * * When CONFIG_GNRC_IPV6_STATIC_LLADDR is used, to not add the interface pid to the * set static address but use the same static link local address for all interfaces. */