mirror of
https://github.com/espressif/openthread.git
synced 2026-08-16 07:37:47 +00:00
Fix Server Data Notification IPv6 source address to RLOC. (#860)
This commit is contained in:
@@ -637,6 +637,7 @@ ThreadError NetworkData::SendServerDataNotification(uint16_t aRloc16)
|
||||
|
||||
memset(&messageInfo, 0, sizeof(messageInfo));
|
||||
mMle.GetLeaderAloc(messageInfo.GetPeerAddr());
|
||||
messageInfo.mSockAddr = *mMle.GetMeshLocal16();
|
||||
messageInfo.mPeerPort = kCoapUdpPort;
|
||||
SuccessOrExit(error = mSocket.SendTo(*message, messageInfo));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user