Fix DNS client TTL processing.

This commit is contained in:
fbernon
2007-11-18 21:30:45 +00:00
parent 7f0640b040
commit da4df1f414
2 changed files with 21 additions and 19 deletions

View File

@@ -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