From b58cd12f8512c277f19859f675d10e1790efdbcb Mon Sep 17 00:00:00 2001 From: UncleRus Date: Tue, 10 Oct 2017 20:01:07 +0500 Subject: [PATCH] Minor fixes in dhcpserver.c --- extras/dhcpserver/dhcpserver.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/extras/dhcpserver/dhcpserver.c b/extras/dhcpserver/dhcpserver.c index 1881e60..6b9655c 100644 --- a/extras/dhcpserver/dhcpserver.c +++ b/extras/dhcpserver/dhcpserver.c @@ -28,12 +28,6 @@ #define debug(s, ...) #endif -#if (DHCP_DEBUG == LWIP_DBG_ON) -#define debug(s, ...) printf("%s: " s "\n", "DHCP", ## __VA_ARGS__) -#else -#define debug(s, ...) -#endif - /* Grow the size of the lwip dhcp_msg struct's options field, as LWIP defaults to a 68 octet options field for its DHCP client, and most full-sized clients send us more than this. */ @@ -216,6 +210,7 @@ static void dhcpserver_task(void *pxParameter) break; case DHCP_RELEASE: handle_dhcp_release(&received); + break; default: debug("DHCP Server Error: Unsupported message type %d", *message_type); break;