From 513903061a150a19720658f7f627ad92d76acbbc Mon Sep 17 00:00:00 2001 From: Robin Vos Date: Tue, 28 Nov 2017 18:35:24 +0100 Subject: [PATCH] [coap] set the interfaceId on retransmission (#2370) --- src/core/coap/coap.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/core/coap/coap.cpp b/src/core/coap/coap.cpp index e402c74ba..1bedbaccf 100644 --- a/src/core/coap/coap.cpp +++ b/src/core/coap/coap.cpp @@ -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); }