mirror of
https://github.com/espressif/openthread.git
synced 2026-08-04 01:47:47 +00:00
[ip6] copy the parsed ECN value from IPv6 msg in MessageInfo (#7548)
This commit changes `Ip6::HandleDatagram()` so to copy the ECN value parsed from IPv6 header of the message in the accompanying `MessageInfo` data structure.
This commit is contained in:
@@ -1138,6 +1138,7 @@ start:
|
||||
messageInfo.SetPeerAddr(header.GetSource());
|
||||
messageInfo.SetSockAddr(header.GetDestination());
|
||||
messageInfo.SetHopLimit(header.GetHopLimit());
|
||||
messageInfo.SetEcn(header.GetEcn());
|
||||
messageInfo.SetLinkInfo(aLinkMessageInfo);
|
||||
|
||||
// determine destination of packet
|
||||
|
||||
Reference in New Issue
Block a user