mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-06-30 18:09:02 +00:00
dhcp: set LWIP_DHCP_DISCOVER_ADD_HOSTNAME==1 by DEFAULT_ACCEPTMBOX_SIZE
see bug #63457
This commit is contained in:
parent
90a440eafd
commit
e01c9a9504
|
@ -969,12 +969,12 @@
|
||||||
#define LWIP_DHCP_MAX_DNS_SERVERS DNS_MAX_SERVERS
|
#define LWIP_DHCP_MAX_DNS_SERVERS DNS_MAX_SERVERS
|
||||||
#endif
|
#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
|
* 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.
|
* configured and consequently reject the REQUEST with any other hostname.
|
||||||
*/
|
*/
|
||||||
#if !defined LWIP_DHCP_DISCOVER_ADD_HOSTNAME || defined __DOXYGEN__
|
#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 */
|
#endif /* LWIP_DHCP_DISCOVER_ADD_HOSTNAME */
|
||||||
/**
|
/**
|
||||||
* @}
|
* @}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user