net/MLD: The MAS query should be sent on the group multicast address.
This commit is contained in:
parent
854046a931
commit
f8d39e2c84
1 changed files with 3 additions and 2 deletions
|
@ -204,17 +204,18 @@ void mld_send(FAR struct net_driver_s *dev, FAR struct mld_group_s *group,
|
||||||
* MESSAGE DESTINATION ADDRESS
|
* MESSAGE DESTINATION ADDRESS
|
||||||
* General Query Message: The link-local, all nodes multicast address.
|
* General Query Message: The link-local, all nodes multicast address.
|
||||||
* MAS Query Messages: The group 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.
|
* Done Message: The link-local, all routers multicast address.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
switch (msgtype)
|
switch (msgtype)
|
||||||
{
|
{
|
||||||
case MLD_SEND_GENQUERY: /* Send General Query */
|
case MLD_SEND_GENQUERY: /* Send General Query */
|
||||||
case MLD_SEND_MASQUERY: /* Send Multicast Address Specific (MAS) Query */
|
|
||||||
destipaddr = g_ipv6_allnodes;
|
destipaddr = g_ipv6_allnodes;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case MLD_SEND_MASQUERY: /* Send Multicast Address Specific (MAS) Query */
|
||||||
case MLD_SEND_V1REPORT: /* Send MLDv1 Report message */
|
case MLD_SEND_V1REPORT: /* Send MLDv1 Report message */
|
||||||
destipaddr = group->grpaddr;
|
destipaddr = group->grpaddr;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue