mirror of
https://github.com/espressif/openthread.git
synced 2026-08-03 17:37:46 +00:00
[posix] do not enable loop back to host (#9826)
There's no clear use case for looping back packets to host. And it would probably result in host processing duplicate messages. This commit disables looping packets back to host.
This commit is contained in:
@@ -1164,7 +1164,6 @@ static void processTransmit(otInstance *aInstance)
|
||||
message = otIp6NewMessage(aInstance, &settings);
|
||||
#endif
|
||||
VerifyOrExit(message != nullptr, error = OT_ERROR_NO_BUFS);
|
||||
otMessageSetLoopbackToHostAllowed(message, true);
|
||||
otMessageSetOrigin(message, OT_MESSAGE_ORIGIN_HOST_UNTRUSTED);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user