From e01c9a95041eb2aa41fe97fb0f5f75ff27d91cb6 Mon Sep 17 00:00:00 2001 From: Simon Goldschmidt Date: Wed, 11 Oct 2023 21:39:48 +0200 Subject: [PATCH] dhcp: set LWIP_DHCP_DISCOVER_ADD_HOSTNAME==1 by DEFAULT_ACCEPTMBOX_SIZE see bug #63457 --- src/include/lwip/opt.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/include/lwip/opt.h b/src/include/lwip/opt.h index 7f3eef2f..1ce45082 100644 --- a/src/include/lwip/opt.h +++ b/src/include/lwip/opt.h @@ -969,12 +969,12 @@ #define LWIP_DHCP_MAX_DNS_SERVERS DNS_MAX_SERVERS #endif -/** LWIP_DHCP_DISCOVER_ADD_HOSTNAME: Set to 1 to include hostname opt in discover packets. +/** LWIP_DHCP_DISCOVER_ADD_HOSTNAME: Set to 0 to not include hostname opt in discover packets. * If the hostname is not set in the DISCOVER packet, then some servers might issue an OFFER with hostname * configured and consequently reject the REQUEST with any other hostname. */ #if !defined LWIP_DHCP_DISCOVER_ADD_HOSTNAME || defined __DOXYGEN__ -#define LWIP_DHCP_DISCOVER_ADD_HOSTNAME 0 +#define LWIP_DHCP_DISCOVER_ADD_HOSTNAME 1 #endif /* LWIP_DHCP_DISCOVER_ADD_HOSTNAME */ /** * @}