[mesh-forwarder] avoid forwarding multicast messages back to SED originator (#12329)

This commit is contained in:
Alan Wyss
2026-01-29 08:11:04 -08:00
committed by GitHub
parent 397f5b4291
commit 8614dc01a1
+2 -1
View File
@@ -81,7 +81,8 @@ void MeshForwarder::SendMessage(OwnedPtr<Message> aMessagePtr)
for (Child &child : Get<ChildTable>().Iterate(Child::kInStateValidOrRestoring))
{
if (!child.IsRxOnWhenIdle() && (destinedForAll || child.HasIp6Address(destination)))
if (!child.IsRxOnWhenIdle() && (destinedForAll || child.HasIp6Address(destination)) &&
!child.HasIp6Address(ip6Header.GetSource()))
{
mIndirectSender.AddMessageForSleepyChild(message, child);
}