net: shell: ipv6: Print information about SLAAC addresses

Print information in "net ipv6" command how the SLAAC addresses
are generated. There is the default legacy EUI-64 method (RFC 4862) or
the stable method described in RFC 7217.

Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
This commit is contained in:
Jukka Rissanen 2024-10-29 13:41:40 +02:00 committed by Anas Nashif
commit 185269d86e

View file

@ -188,6 +188,9 @@ static int cmd_net_ipv6(const struct shell *sh, size_t argc, char *argv[])
PR("Privacy extension support : %s\n",
IS_ENABLED(CONFIG_NET_IPV6_PE) ? "enabled" : "disabled");
PR("SLAAC IID generation method : %s\n",
IS_ENABLED(CONFIG_NET_IPV6_IID_STABLE) ?
"stable (RFC 7217)" : "EUI-64 (RFC 4862)");
#if defined(CONFIG_NET_IPV6_PE)
PR("Max number of IPv6 privacy extension filters "