mirror of
https://github.com/espressif/openthread.git
synced 2026-08-09 04:07:47 +00:00
[coap] set the interfaceId on retransmission (#2370)
This commit is contained in:
@@ -331,6 +331,7 @@ void CoapBase::HandleRetransmissionTimer(void)
|
||||
messageInfo.SetPeerAddr(coapMetadata.mDestinationAddress);
|
||||
messageInfo.SetPeerPort(coapMetadata.mDestinationPort);
|
||||
messageInfo.SetSockAddr(coapMetadata.mSourceAddress);
|
||||
messageInfo.SetInterfaceId(GetNetif().GetInterfaceId());
|
||||
|
||||
SendCopy(*message, messageInfo);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user