Revision 0d62c4cf slirp/slirp.c
b/slirp/slirp.c | ||
---|---|---|
55 | 55 |
static int do_slowtimo; |
56 | 56 |
int link_up; |
57 | 57 |
struct timeval tt; |
58 |
FILE *lfd; |
|
59 | 58 |
struct ex_list *exec_list; |
60 | 59 |
|
61 | 60 |
/* XXX: suppress those select globals */ |
... | ... | |
96 | 95 |
pIPAddr = &(FixedInfo->DnsServerList); |
97 | 96 |
inet_aton(pIPAddr->IpAddress.String, &tmp_addr); |
98 | 97 |
*pdns_addr = tmp_addr; |
99 |
#if 0 |
|
100 |
printf( "DNS Servers:\n" ); |
|
101 |
printf( "DNS Addr:%s\n", pIPAddr->IpAddress.String ); |
|
102 |
|
|
103 |
pIPAddr = FixedInfo -> DnsServerList.Next; |
|
104 |
while ( pIPAddr ) { |
|
105 |
printf( "DNS Addr:%s\n", pIPAddr ->IpAddress.String ); |
|
106 |
pIPAddr = pIPAddr ->Next; |
|
107 |
} |
|
108 |
#endif |
|
109 | 98 |
if (FixedInfo) { |
110 | 99 |
GlobalFree(FixedInfo); |
111 | 100 |
FixedInfo = NULL; |
... | ... | |
179 | 168 |
const char *bootfile, struct in_addr vdhcp_start, |
180 | 169 |
struct in_addr vnameserver) |
181 | 170 |
{ |
182 |
// debug_init("/tmp/slirp.log", DEBUG_DEFAULT); |
|
183 |
|
|
184 | 171 |
#ifdef _WIN32 |
185 | 172 |
WSADATA Data; |
186 | 173 |
|
Also available in: Unified diff