Index: /trunk/src/VBox/Devices/Network/slirp/slirp.c
===================================================================
--- /trunk/src/VBox/Devices/Network/slirp/slirp.c	(revision 17224)
+++ /trunk/src/VBox/Devices/Network/slirp/slirp.c	(revision 17225)
@@ -363,5 +363,5 @@
         {
             LogRel(("NAT: error %lu occured on capacity detection operation\n", ret));
-            return VERR_INVALID_PARAMETER; /* @todo: find better error code */
+            return -1;
         }
         
@@ -369,5 +369,5 @@
         {
             LogRel(("NAT: Win socket API returns non capacity\n"));
-            return VERR_INVALID_PARAMETER; /* @todo: find better error code */
+            return -1;
         }
         
@@ -376,5 +376,5 @@
         {
             LogRel(("NAT: No memory available \n"));
-            return VERR_NO_MEMORY;
+            return -1;
         }
 
@@ -383,5 +383,5 @@
         {
             LogRel(("NAT: error %lu occured on fetching adapters info\n", ret));
-            return VERR_INVALID_PARAMETER; /* @todo: find better error code */
+            return -1; 
         }
         addr = addresses;
@@ -433,5 +433,5 @@
         /* Win 2000 and earlier */
     }
-    return VINF_SUCCESS; 
+    return 0; 
 }
 # endif /* VBOX_WITH_MULTI_DNS */
