mirror of
https://github.com/espressif/openthread.git
synced 2026-08-02 09:07:47 +00:00
[mesh-forwarder] allow 15.4 broadcast of unsecure link-local multicast (#6503)
This commit is contained in:
@@ -361,11 +361,11 @@ Error MeshForwarder::UpdateIp6Route(Message &aMessage)
|
||||
|
||||
if (ip6Header.GetDestination().IsMulticast())
|
||||
{
|
||||
// With the exception of MLE multicasts, an End Device
|
||||
// transmits multicasts, as IEEE 802.15.4 unicasts to its
|
||||
// parent.
|
||||
// With the exception of MLE multicasts and any other message
|
||||
// with link security disabled, an End Device transmits
|
||||
// multicasts, as IEEE 802.15.4 unicasts to its parent.
|
||||
|
||||
if (mle.IsChild() && !aMessage.IsSubTypeMle())
|
||||
if (mle.IsChild() && aMessage.IsLinkSecurityEnabled())
|
||||
{
|
||||
mMacDest.SetShort(mle.GetNextHop(Mac::kShortAddrBroadcast));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user