Changeset 50689 in vbox for trunk/src/VBox/Devices/Network
- Timestamp:
- Mar 5, 2014 6:39:57 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/slirp/bootp.c
r50672 r50689 303 303 FILL_BOOTP_EXT(q, RFC1533_DNS, 4, &addr); 304 304 } 305 else 306 { 307 if (!TAILQ_EMPTY(&pData->pDnsList)) 308 { 309 de = TAILQ_LAST(&pData->pDnsList, dns_list_head); 310 q_dns_header = q; 311 FILL_BOOTP_EXT(q, RFC1533_DNS, 4, &de->de_addr.s_addr); 312 } 305 else if (!TAILQ_EMPTY(&pData->pDnsList)) 306 { 307 de = TAILQ_LAST(&pData->pDnsList, dns_list_head); 308 q_dns_header = q; 309 FILL_BOOTP_EXT(q, RFC1533_DNS, 4, &de->de_addr.s_addr); 313 310 314 311 TAILQ_FOREACH_REVERSE(de, &pData->pDnsList, dns_list_head, de_list) … … 319 316 } 320 317 } 321 if (pData->fPassDomain && !pData->fUseHostResolver) 318 319 if ( pData->fPassDomain 320 && !pData->fUseHostResolver 321 && !LIST_EMPTY(&pData->pDomainList)) 322 322 { 323 323 LIST_FOREACH(dd, &pData->pDomainList, dd_list)
Note:
See TracChangeset
for help on using the changeset viewer.