mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-12-25 00:14:02 +00:00
Move DNS_MAX_RETRIES option from dns.c to opt.h
This commit is contained in:
parent
2c1a152880
commit
1fdc7571e0
@ -110,11 +110,6 @@ static u16_t dns_txid;
|
||||
#define DNS_PORT_ALLOWED(port) ((port) >= 1024)
|
||||
#endif
|
||||
|
||||
/** DNS maximum number of retries when asking for a name, before "timeout". */
|
||||
#ifndef DNS_MAX_RETRIES
|
||||
#define DNS_MAX_RETRIES 4
|
||||
#endif
|
||||
|
||||
/** DNS resource record max. TTL (one week as default) */
|
||||
#ifndef DNS_MAX_TTL
|
||||
#define DNS_MAX_TTL 604800
|
||||
|
@ -1085,6 +1085,11 @@
|
||||
#define DNS_MAX_SERVERS 2
|
||||
#endif
|
||||
|
||||
/** DNS maximum number of retries when asking for a name, before "timeout". */
|
||||
#ifndef DNS_MAX_RETRIES || defined __DOXYGEN__
|
||||
#define DNS_MAX_RETRIES 4
|
||||
#endif
|
||||
|
||||
/** DNS do a name checking between the query and the response. */
|
||||
#if !defined DNS_DOES_NAME_CHECK || defined __DOXYGEN__
|
||||
#define DNS_DOES_NAME_CHECK 1
|
||||
|
Loading…
Reference in New Issue
Block a user