mirror of
https://github.com/espressif/openthread.git
synced 2026-08-30 05:49:54 +00:00
[ip6] always enable ICMP6 filtering when forwarding to Thread (#7343)
This will prevent unexpected multicast packets on the Thread network.
This commit is contained in:
@@ -1269,7 +1269,7 @@ start:
|
||||
hopLimit = header.GetHopLimit();
|
||||
aMessage.Write(Header::kHopLimitFieldOffset, hopLimit);
|
||||
|
||||
if (aFromNcpHost && nextHeader == kProtoIcmp6)
|
||||
if (nextHeader == kProtoIcmp6)
|
||||
{
|
||||
uint8_t icmpType;
|
||||
bool isAllowedType = false;
|
||||
|
||||
Reference in New Issue
Block a user