VirtualBox

Changeset 10896 in vbox for trunk/src/VBox/Frontends


Ignore:
Timestamp:
Jul 25, 2008 11:58:01 PM (17 years ago)
Author:
vboxsync
Message:

Main & VBoxManage: Made HostNetworkInterface, IHost::networkInterfaces and list hostifs available everywhere. Only Windows and Darwin implements the enumeration.

File:
1 edited

Legend:

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

    r10826 r10896  
    284284    if (u64Cmd & USAGE_LIST)
    285285    {
    286         RTPrintf("VBoxManage list             vms|runningvms|ostypes|hostdvds|hostfloppies|\n");
    287         RTPrintf("                            ");
    288         if (fWin)
    289             RTPrintf(                         "hostifs|");
    290         RTPrintf(                             "hostinfo|hdds|dvds|floppies|\n"
     286        RTPrintf("VBoxManage list             vms|runningvms|ostypes|hostdvds|hostfloppies|\n"
     287                 "                            hostifs|hostinfo|hdds|dvds|floppies|\n"
    291288                 "                            usbhost|usbfilters|systemproperties\n"
    292289                 "\n");
     
    26722669        }
    26732670    }
    2674 #ifdef RT_OS_WINDOWS
    26752671    else
    26762672    if (strcmp(argv[0], "hostifs") == 0)
     
    26942690                Guid interfaceGuid;
    26952691                networkInterface->COMGETTER(Id)(interfaceGuid.asOutParam());
    2696                 RTPrintf("GUID:        %lS\n\n", Bstr(interfaceGuid.toString()));
    2697             }
    2698         }
    2699     }
    2700 #endif /* RT_OS_WINDOWS */
     2692                RTPrintf("GUID:        %lS\n\n", Bstr(interfaceGuid.toString()).raw());
     2693            }
     2694        }
     2695    }
    27012696    else
    27022697    if (strcmp(argv[0], "hostinfo") == 0)
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