debug_dhcp to follow general debug

This commit is contained in:
Bill Sideris 2022-11-30 22:24:21 +02:00
parent f8070d2141
commit 0738d50834
No known key found for this signature in database
GPG Key ID: 1BEF1BCEBA58EA33
2 changed files with 4 additions and 1 deletions

View File

@ -95,7 +95,6 @@
#define TCPIP_DEBUG LWIP_DBG_OFF
#define PPP_DEBUG LWIP_DBG_OFF
#define SLIP_DEBUG LWIP_DBG_OFF
#define DHCP_DEBUG LWIP_DBG_OFF
#define MDNS_DEBUG LWIP_DBG_OFF
#define LWIP_TIMEVAL_PRIVATE 0

View File

@ -31,6 +31,10 @@
#define DHCPS_BASE_IP (16)
#define DHCPS_MAX_IP (8)
#ifndef DHCP_DEBUG
#define DHCP_DEBUG LWIP_DBG_ON
#endif
typedef struct _dhcp_server_lease_t {
uint8_t mac[6];
uint16_t expiry;