Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of WIZnetInterface_Ricky by
Diff: Socket/DHCPClient.cpp
- Revision:
- 15:24a9f2df2145
- Parent:
- 0:6f28332c466f
--- a/Socket/DHCPClient.cpp Wed Jun 17 00:24:45 2015 +0000 +++ b/Socket/DHCPClient.cpp Mon Jun 22 09:11:47 2015 +0000 @@ -110,8 +110,8 @@ void DHCPClient::callback() { - //Endpoint host; - int recv_len = m_udp->receiveFrom(m_server, (char*)m_buf, sizeof(m_buf)); + Endpoint host; + int recv_len = m_udp->receiveFrom(host, (char*)m_buf, sizeof(m_buf)); if (recv_len < 0) { return; }