Changeset 8382 in vbox for trunk/src/VBox/Frontends/VBoxManage
- Timestamp:
- Apr 25, 2008 9:54:23 AM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 30182
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxManage/VBoxManage.cpp
r8373 r8382 1282 1282 strAttachment = "nat"; 1283 1283 } 1284 else if ( strNetwork != "default")1284 else if (!strNetwork.isEmpty()) 1285 1285 strAttachment = Utf8StrFmt("NAT (%lS)", strNetwork.raw()); 1286 1286 else … … 1364 1364 currentNIC + 1, strMACAddress.raw(), strAttachment.raw(), 1365 1365 fConnected ? "on" : "off", 1366 fTraceEnabled ? "on" : "off", traceFile.raw(), 1366 fTraceEnabled ? "on" : "off", 1367 traceFile.isEmpty() ? Bstr("none").raw() : traceFile.raw(), 1367 1368 strNICType.raw(), 1368 1369 ulLineSpeed / 1000); … … 4050 4051 return errorArgument("Invalid IPv4 network '%s' specified -- CIDR notation expected.\n", argv[i + 1]); 4051 4052 if (Netmask & 0x1f) 4052 return errorArgument("Prefix length of the NAT network must be less than 28 \n");4053 return errorArgument("Prefix length of the NAT network must be less than 28.\n"); 4053 4054 natnet[n - 1] = argv[i + 1]; 4054 4055 i++;
Note:
See TracChangeset
for help on using the changeset viewer.