update code
This commit is contained in:
@@ -31,7 +31,7 @@ struct dns_query_server {
|
|||||||
int fd;
|
int fd;
|
||||||
int type;
|
int type;
|
||||||
char host[DNS_HOSTNAME_LEN];
|
char host[DNS_HOSTNAME_LEN];
|
||||||
list_head list;
|
struct list_head list;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct dns_client {
|
struct dns_client {
|
||||||
@@ -39,7 +39,7 @@ struct dns_client {
|
|||||||
int run;
|
int run;
|
||||||
int epoll_fd;
|
int epoll_fd;
|
||||||
|
|
||||||
list_head dns_server_list;
|
struct list_head dns_server_list;
|
||||||
|
|
||||||
pthread_mutex_t map_lock;
|
pthread_mutex_t map_lock;
|
||||||
DECLARE_HASHTABLE(hostmap, 6);
|
DECLARE_HASHTABLE(hostmap, 6);
|
||||||
|
|||||||
Reference in New Issue
Block a user