- Timestamp:
- Mar 2, 2009 6:35:48 AM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 43542
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/slirp/slirp.c
r17224 r17225 363 363 { 364 364 LogRel(("NAT: error %lu occured on capacity detection operation\n", ret)); 365 return VERR_INVALID_PARAMETER; /* @todo: find better error code */365 return -1; 366 366 } 367 367 … … 369 369 { 370 370 LogRel(("NAT: Win socket API returns non capacity\n")); 371 return VERR_INVALID_PARAMETER; /* @todo: find better error code */371 return -1; 372 372 } 373 373 … … 376 376 { 377 377 LogRel(("NAT: No memory available \n")); 378 return VERR_NO_MEMORY;378 return -1; 379 379 } 380 380 … … 383 383 { 384 384 LogRel(("NAT: error %lu occured on fetching adapters info\n", ret)); 385 return VERR_INVALID_PARAMETER; /* @todo: find better error code */385 return -1; 386 386 } 387 387 addr = addresses; … … 433 433 /* Win 2000 and earlier */ 434 434 } 435 return VINF_SUCCESS;435 return 0; 436 436 } 437 437 # endif /* VBOX_WITH_MULTI_DNS */
Note:
See TracChangeset
for help on using the changeset viewer.