Jack Hansdampf / UIPEthernet
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;