aboutsummaryrefslogtreecommitdiff
path: root/sys/netinet6
diff options
context:
space:
mode:
authorSébastien BINI <sebastien.bini@stormshield.eu>2022-09-16 13:58:52 +0000
committerEd Maste <emaste@FreeBSD.org>2022-09-19 13:01:36 +0000
commit64cce803c479068b93560644c8fc8f02c579524f (patch)
tree866446a59992d15ab6fc747f15e4763d784d2aa1 /sys/netinet6
parent6d9e911fbadf3b409802a211c1dae9b47cb5a2b8 (diff)
downloadsrc-64cce803c479068b93560644c8fc8f02c579524f.tar.gz
src-64cce803c479068b93560644c8fc8f02c579524f.zip
Diffstat (limited to 'sys/netinet6')
-rw-r--r--sys/netinet6/in6_mcast.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/netinet6/in6_mcast.c b/sys/netinet6/in6_mcast.c
index a02e18656dc2..0cc8971d60d3 100644
--- a/sys/netinet6/in6_mcast.c
+++ b/sys/netinet6/in6_mcast.c
@@ -2854,6 +2854,7 @@ in6m_mode_str(const int mode)
static const char *in6m_statestrs[] = {
"not-member",
"silent",
+ "reporting",
"idle",
"lazy",
"sleeping",
@@ -2862,6 +2863,8 @@ static const char *in6m_statestrs[] = {
"sg-query-pending",
"leaving"
};
+_Static_assert(nitems(in6m_statestrs) ==
+ MLD_LEAVING_MEMBER - MLD_NOT_MEMBER + 1, "Missing MLD group state");
static const char *
in6m_state_str(const int state)