mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-05-17 13:46:56 +08:00
opt.h: added LWIP_DHCP_MAX_DNS_SERVERS to configure the maximum number of DNS servers configured from dhcp.c(v4) (if any; guarded with LWIP_DNS)
This commit is contained in:
@@ -882,6 +882,15 @@
|
||||
#if !defined LWIP_DHCP_MAX_NTP_SERVERS || defined __DOXYGEN__
|
||||
#define LWIP_DHCP_MAX_NTP_SERVERS 1
|
||||
#endif
|
||||
|
||||
/**
|
||||
* LWIP_DHCP_MAX_DNS_SERVERS > 0: Request DNS servers with discover/select.
|
||||
* DHCP servers received in the response are passed to DNS via @ref dns_setserver()
|
||||
* (up to the maximum limit defined here).
|
||||
*/
|
||||
#if !defined LWIP_DHCP_MAX_DNS_SERVERS || defined __DOXYGEN__
|
||||
#define LWIP_DHCP_MAX_DNS_SERVERS DNS_MAX_SERVERS
|
||||
#endif
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user