VirtualBox

Ignore:
Timestamp:
Dec 10, 2024 7:37:35 AM (6 weeks ago)
Author:
vboxsync
Message:

Main/API,UI: bugref:10810 Based on Brent's patch, added UsbNet support into Main API and UI

Location:
trunk/src/VBox/Frontends/VBoxManage
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManageInfo.cpp

    r106209 r107267  
    19521952                    case NetworkAdapterType_ELNK2:      pszNICType = "3C503";       break;
    19531953                    case NetworkAdapterType_ELNK1:      pszNICType = "3C501";       break;
     1954                    case NetworkAdapterType_UsbNet:     pszNICType = "usbnet";      break;
    19541955                    default:
    19551956                        AssertFailed();
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManageModifyVM.cpp

    r106384 r107267  
    17401740                    CHECK_ERROR(nic, COMSETTER(AdapterType)(NetworkAdapterType_ELNK1));
    17411741                }
     1742                else if (!RTStrICmp(ValueUnion.psz, "usbnet"))
     1743                {
     1744                    CHECK_ERROR(nic, COMSETTER(AdapterType)(NetworkAdapterType_UsbNet));
     1745                }
    17421746                else
    17431747                {
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette