Changeset 19979 in vbox for trunk/src/VBox/Devices/Network/slirp/dnsproxy/dnsproxy.c
- Timestamp:
- May 25, 2009 2:29:12 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/slirp/dnsproxy/dnsproxy.c
r19700 r19979 106 106 struct request *req = (struct request *)arg; 107 107 struct dns_entry *de; 108 de = LIST_NEXT(req->dns_server, de_list);108 de = TAILQ_PREV(req->dns_server, dns_list_head, de_list); 109 109 /* here we should check if we reached the end of the DNS server list */ 110 110 if (de == NULL) … … 269 269 memcpy(&req->client, &fromaddr, sizeof(struct sockaddr_in)); 270 270 memcpy(&req->clientid, &buf[0], 2); 271 req->dns_server = LIST_FIRST(&pData->dns_list_head);271 req->dns_server = TAILQ_LAST(&pData->dns_list_head, dns_list_head); 272 272 if (req->dns_server == NULL) 273 273 {
Note:
See TracChangeset
for help on using the changeset viewer.