From 3fb4fd81e9afd4a129b86a1247816fc07f3b98c7 Mon Sep 17 00:00:00 2001 From: Bill Sideris Date: Wed, 30 Nov 2022 22:44:18 +0200 Subject: [PATCH] Revert "debug_dhcp to follow general debug" --- ports/raspberrypi/lwip_inc/lwipopts.h | 1 + shared/netutils/dhcpserver.h | 4 ---- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/ports/raspberrypi/lwip_inc/lwipopts.h b/ports/raspberrypi/lwip_inc/lwipopts.h index 64b8cffff3..6d116e89b6 100644 --- a/ports/raspberrypi/lwip_inc/lwipopts.h +++ b/ports/raspberrypi/lwip_inc/lwipopts.h @@ -95,6 +95,7 @@ #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 diff --git a/shared/netutils/dhcpserver.h b/shared/netutils/dhcpserver.h index 45ceaf9a87..2349d2ea42 100644 --- a/shared/netutils/dhcpserver.h +++ b/shared/netutils/dhcpserver.h @@ -31,10 +31,6 @@ #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;