mirror of
https://github.com/espressif/openthread.git
synced 2026-07-28 22:57:47 +00:00
[ip6] fix remove unsecure port behavior (#4822)
When removing unsecure port, we should not add aFromNcpHost filter since the packet comes from the child.
This commit is contained in:
@@ -1232,7 +1232,7 @@ otError Ip6::HandleDatagram(Message &aMessage, Netif *aNetif, const void *aLinkM
|
||||
}
|
||||
|
||||
#if OPENTHREAD_CONFIG_UNSECURE_TRAFFIC_MANAGED_BY_STACK_ENABLE
|
||||
if (aFromNcpHost && (nextHeader == kProtoTcp || nextHeader == kProtoUdp))
|
||||
if (nextHeader == kProtoTcp || nextHeader == kProtoUdp)
|
||||
{
|
||||
uint16_t dstPort;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user