Skip to content

Commit

Permalink
dhcp: set LWIP_DHCP_DISCOVER_ADD_HOSTNAME==1 by DEFAULT_ACCEPTMBOX_SIZE
Browse files Browse the repository at this point in the history
see bug #63457
  • Loading branch information
goldsimon committed Oct 11, 2023
1 parent 90a440e commit e01c9a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/include/lwip/opt.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
/**
* @}
Expand Down

0 comments on commit e01c9a9

Please sign in to comment.