From f8d39e2c8463ce27aa821e9aa8ec9faaa1901c22 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Sat, 10 Nov 2018 11:41:50 -0600 Subject: [PATCH] net/MLD: The MAS query should be sent on the group multicast address. --- net/mld/mld_send.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/net/mld/mld_send.c b/net/mld/mld_send.c index e9e7617df4..55460921c5 100644 --- a/net/mld/mld_send.c +++ b/net/mld/mld_send.c @@ -204,17 +204,18 @@ void mld_send(FAR struct net_driver_s *dev, FAR struct mld_group_s *group, * MESSAGE DESTINATION ADDRESS * General Query Message: The link-local, all nodes multicast address. * MAS Query Messages: The group multicast address. - * Report Message: The group multicast address. + * V1 Report Message: The group multicast address. + * V2 Report Message: The link-local, all MLDv2 router multicast address. * Done Message: The link-local, all routers multicast address. */ switch (msgtype) { case MLD_SEND_GENQUERY: /* Send General Query */ - case MLD_SEND_MASQUERY: /* Send Multicast Address Specific (MAS) Query */ destipaddr = g_ipv6_allnodes; break; + case MLD_SEND_MASQUERY: /* Send Multicast Address Specific (MAS) Query */ case MLD_SEND_V1REPORT: /* Send MLDv1 Report message */ destipaddr = group->grpaddr; break;