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.
Diff: DhcpClient.cpp
- Revision:
- 19:9d990bd6d9d0
- Parent:
- 18:8d5738a6646e
--- a/DhcpClient.cpp Thu Jul 23 15:30:54 2020 +0000
+++ b/DhcpClient.cpp Fri Aug 20 12:36:26 2021 +0000
@@ -5,7 +5,7 @@
#include "UipEthernet.h"
#include "DhcpClient.h"
#include "utility/util.h"
-
+#define UIPETHERNET_DEBUG_UDP 1
/**
* @brief
* @note
@@ -55,7 +55,7 @@
timer.start();
// Pick an initial transaction ID
- srand(time(NULL)+ 1);
+ // srand(time(NULL)+ 1);
_dhcpTransactionId = (rand() % 2000UL) + 1;
_dhcpInitialTransactionId = _dhcpTransactionId;