mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2024-12-14 15:34:35 +00:00
MINOR: dns: dns_resolution structure update: time_t to unsigned int
3 variables of the dns_resolution structure are set to 'time_t' type. Since they are all set by 'now_ms' and used as 'ticks' in HAProxy's internal, it is safer to set them to the same type than now_ms: 'unsigned int'.
This commit is contained in:
parent
9c03b33329
commit
189363e35a
@ -151,9 +151,9 @@ struct dns_resolution {
|
||||
char *hostname_dn; /* server hostname in domain name label format */
|
||||
int hostname_dn_len; /* server domain name label len */
|
||||
int resolver_family_priority; /* which IP family should the resolver use when both are returned */
|
||||
time_t last_resolution; /* time of the lastest valid resolution */
|
||||
time_t last_sent_packet; /* time of the latest DNS packet sent */
|
||||
time_t last_status_change; /* time of the latest DNS resolution status change */
|
||||
unsigned int last_resolution; /* time of the lastest valid resolution */
|
||||
unsigned int last_sent_packet; /* time of the latest DNS packet sent */
|
||||
unsigned int last_status_change; /* time of the latest DNS resolution status change */
|
||||
int query_id; /* DNS query ID dedicated for this resolution */
|
||||
struct eb32_node qid; /* ebtree query id */
|
||||
int query_type; /* query type to send. By default DNS_RTYPE_ANY */
|
||||
|
Loading…
Reference in New Issue
Block a user