48 |
|
#define min(a,b) (a < b ? a : b) |
49 |
|
|
50 |
|
int fdns_errno = FDNS_ERR_NONE; |
51 |
– |
unsigned int fdns_fdinuse = 0; |
51 |
|
|
52 |
|
/* Variables local to this file */ |
53 |
+ |
static unsigned int fdns_fdinuse; |
54 |
|
|
55 |
|
/* up to FDNS_MAX nameservers; populated by firedns_init() */ |
56 |
|
static struct in_addr servers4[FDNS_MAX]; |
57 |
+ |
static struct in6_addr servers6[FDNS_MAX]; |
58 |
|
/* actual count of nameservers; set by firedns_init() */ |
59 |
|
static int i4; |
60 |
|
static int i6; |
60 |
– |
static struct in6_addr servers6[FDNS_MAX]; |
61 |
|
|
62 |
|
/* |
63 |
|
* Linked list of open DNS queries; populated by firedns_add_query(), |