VirtualBox

Changeset 41890 in vbox for trunk


Ignore:
Timestamp:
Jun 22, 2012 3:00:19 PM (13 years ago)
Author:
vboxsync
Message:

VBoxManage: proper printing of disabled bandwidth groups (#5582)

File:
1 edited

Legend:

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

    r41842 r41890  
    274274            const char *pszUnits = "";
    275275            LONG64 cBytes = cMaxBytesPerSec;
    276             if (!(cBytes % _1G))
     276            if (cBytes == 0)
     277            {
     278                RTPrintf("Name: '%ls', Type: %s, Limit: none (disabled)\n", strName.raw(), pszType);
     279                continue;
     280            }
     281            else if (!(cBytes % _1G))
    277282            {
    278283                pszUnits = "G";
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