mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-05-21 15:46:52 +08:00
Fix DNS client TTL processing.
This commit is contained in:
@@ -38,16 +38,19 @@
|
||||
|
||||
#if LWIP_DNS /* don't build if not configured for use in lwipopts.h */
|
||||
|
||||
/** DNS timer period */
|
||||
#ifndef DNS_TMR_INTERVAL
|
||||
#define DNS_TMR_INTERVAL 1000
|
||||
#endif
|
||||
|
||||
/** The maximum of DNS servers */
|
||||
#ifndef DNS_MAX_SERVERS
|
||||
#define DNS_MAX_SERVERS 2
|
||||
#endif
|
||||
|
||||
/** DNS resource record max. TTL (one week as default) */
|
||||
#ifndef DNS_MAX_TTL
|
||||
#define DNS_MAX_TTL 604800
|
||||
#endif
|
||||
|
||||
/** DNS timer period */
|
||||
#define DNS_TMR_INTERVAL 1000
|
||||
|
||||
/** DNS message max. size */
|
||||
#define DNS_MSG_SIZE 512
|
||||
|
||||
|
||||
Reference in New Issue
Block a user