fix otSendUdp function name (#135)

This commit is contained in:
Lu Wang
2016-06-13 11:28:57 -07:00
committed by Jonathan Hui
parent 9a7fa9b80e
commit 1261ea701c
+1 -1
View File
@@ -696,7 +696,7 @@ ThreadError otBindUdpSocket(otUdpSocket *aSocket, otSockAddr *aSockName)
return socket->Bind(*reinterpret_cast<const Ip6::SockAddr *>(aSockName));
}
ThreadError otSendUdpMessage(otUdpSocket *aSocket, otMessage aMessage, const otMessageInfo *aMessageInfo)
ThreadError otSendUdp(otUdpSocket *aSocket, otMessage aMessage, const otMessageInfo *aMessageInfo)
{
Ip6::UdpSocket *socket = reinterpret_cast<Ip6::UdpSocket *>(aSocket);
return socket->SendTo(*reinterpret_cast<Message *>(aMessage),