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.
Dependents: w7500-paho-mqtt openHAB_mqtt_W7500 kakaoIoTchatbot w7500-RFID-mqtt
Fork of WIZnetInterface 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;
}
