Changeset 17323 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Mar 4, 2009 7:34:16 AM (16 years ago)
- Location:
- trunk/src/VBox/Frontends/VBoxManage
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxManage/VBoxManageHelp.cpp
r17322 r17323 176 176 " [-nictracefile<1-N> <filename>]\n" 177 177 " [-nicspeed<1-N> <kbps>]\n" 178 " [-bridge ddev<1-N> none|<devicename>]\n"178 " [-bridgeadapter<1-N> none|<devicename>]\n" 179 179 #if (defined(RT_OS_WINDOWS) && defined(VBOX_WITH_NETFLT)) 180 " [-hostonly dev<1-N> none|<devicename>]\n"180 " [-hostonlyadapter<1-N> none|<devicename>]\n" 181 181 #endif 182 182 " [-intnet<1-N> <network name>]\n" -
trunk/src/VBox/Frontends/VBoxManage/VBoxManageInfo.cpp
r17322 r17323 685 685 case NetworkAttachmentType_Bridged: 686 686 { 687 Bstr strBridge dDev;688 nic->COMGETTER(HostInterface)(strBridge dDev.asOutParam());687 Bstr strBridgeAdp; 688 nic->COMGETTER(HostInterface)(strBridgeAdp.asOutParam()); 689 689 if (details == VMINFO_MACHINEREADABLE) 690 690 { 691 RTPrintf("bridge ddev%d=\"%lS\"\n", currentNIC + 1, strBridgedDev.raw());691 RTPrintf("bridgeadapter%d=\"%lS\"\n", currentNIC + 1, strBridgeAdp.raw()); 692 692 strAttachment = "bridged"; 693 693 } 694 694 else 695 strAttachment = Utf8StrFmt("Bridged Interface '%lS'", strBridge dDev.raw());695 strAttachment = Utf8StrFmt("Bridged Interface '%lS'", strBridgeAdp.raw()); 696 696 break; 697 697 } … … 711 711 case NetworkAttachmentType_HostOnly: 712 712 { 713 #if (defined(RT_OS_WINDOWS) && defined(VBOX_WITH_NETFLT)) 714 Bstr strHostonlyAdp; 715 nic->COMGETTER(HostInterface)(strHostonlyAdp.asOutParam()); 716 #endif 713 717 if (details == VMINFO_MACHINEREADABLE) 714 718 { 719 #if (defined(RT_OS_WINDOWS) && defined(VBOX_WITH_NETFLT)) 720 RTPrintf("hostonlyadapter%d=\"%lS\"\n", currentNIC + 1, strHostonlyAdp.raw()); 721 #endif 715 722 strAttachment = "hostonly"; 716 723 } 717 724 else 725 #if (defined(RT_OS_WINDOWS) && defined(VBOX_WITH_NETFLT)) 726 strAttachment = Utf8StrFmt("Host-only Interface '%lS'", strHostonlyAdp.raw()); 727 #else 718 728 strAttachment = "Host-only Network"; 729 #endif 719 730 break; 720 731 } -
trunk/src/VBox/Frontends/VBoxManage/VBoxManageModifyVM.cpp
r17322 r17323 442 442 i++; 443 443 } 444 else if ( strncmp(a->argv[i], "-bridge ddev", 11) == 0445 || strncmp(a->argv[i], "-hostonly dev", 12) == 0444 else if ( strncmp(a->argv[i], "-bridgeadapter", 11) == 0 445 || strncmp(a->argv[i], "-hostonlyadapter", 12) == 0 446 446 || strncmp(a->argv[i], "-hostifdev", 10) == 0) /* backward compatibility */ 447 447 {
Note:
See TracChangeset
for help on using the changeset viewer.