Changeset 49297 in vbox for trunk/src/VBox/NetworkServices
- Timestamp:
- Oct 28, 2013 2:15:03 AM (11 years ago)
- svn:sync-xref-src-repo-rev:
- 90249
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/NetworkServices/NAT/pxdns.c
r49252 r49297 303 303 pxdns_create_resolver_sockaddrs(struct pxdns *pxdns, const char **nameservers) 304 304 { 305 /*306 * XXX: TODO: Windows supports getaddrinfo(), including execution307 * on older version of Windows where runtime tricks hide the gory308 * compatibility details.309 *310 * http://msdn.microsoft.com/en-us/library/windows/desktop/ms738520%28v=vs.85%29.aspx311 */312 #ifndef RT_OS_WINDOWS313 305 struct addrinfo hints; 314 #endif315 306 union sockaddr_inet *resolvers; 316 307 size_t nnames, nresolvers; … … 340 331 } 341 332 342 #ifndef RT_OS_WINDOWS343 333 memset(&hints, 0, sizeof(hints)); 344 334 hints.ai_family = AF_UNSPEC; … … 377 367 ++nresolvers; 378 368 } 379 #endif /* RT_OS_WINDOWS */380 369 381 370 if (nresolvers == 0) {
Note:
See TracChangeset
for help on using the changeset viewer.