Skip to content

Commit 2268641

Browse files
committed
[ip6] bypass filtering for multicast addresses larger than RealmLocal
1 parent f52cf29 commit 2268641

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/net/ip6.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -963,7 +963,7 @@ Error Ip6::PassToHost(OwnedPtr<Message> &aMessagePtr,
963963
VerifyOrExit(aReceive, error = kErrorDrop);
964964
}
965965

966-
if (mReceiveFilterEnabled && aReceive)
966+
if (mReceiveFilterEnabled && aReceive && !aHeader.GetDestination().IsMulticastLargerThanRealmLocal())
967967
{
968968
switch (aIpProto)
969969
{

0 commit comments

Comments
 (0)