Fix Server Data Notification IPv6 source address to RLOC. (#860)

This commit is contained in:
Jonathan Hui
2016-10-20 17:17:42 -07:00
committed by GitHub
parent 7824a68225
commit cc5f48d66a
+1
View File
@@ -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));