VirtualBox

Changeset 17945 in vbox for trunk/src


Ignore:
Timestamp:
Mar 16, 2009 3:38:17 PM (16 years ago)
Author:
vboxsync
Message:

VBoxManage list fix for non-windows platforms.

File:
1 edited

Legend:

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

    r17894 r17945  
    7474    LISTHOSTFLOPPIES,
    7575    LISTBRIDGEDIFS,
    76 #if (defined(RT_OS_WINDOWS) && defined(VBOX_WITH_NETFLT))
     76#if defined(VBOX_WITH_NETFLT)
    7777    LISTHOSTONLYIFS,
    7878#endif
     
    9898        { "hostifs",             LISTBRIDGEDIFS, RTGETOPT_REQ_NOTHING }, /* backward compatibility */
    9999        { "bridgedifs",          LISTBRIDGEDIFS, RTGETOPT_REQ_NOTHING },
    100 #if (defined(RT_OS_WINDOWS) && defined(VBOX_WITH_NETFLT))
     100#if defined(VBOX_WITH_NETFLT)
    101101        { "hostonlyifs",          LISTHOSTONLYIFS, RTGETOPT_REQ_NOTHING },
    102102#endif
     
    138138            case LISTHOSTFLOPPIES:
    139139            case LISTBRIDGEDIFS:
    140 #if (defined(RT_OS_WINDOWS) && defined(VBOX_WITH_NETFLT))
     140#if defined(VBOX_WITH_NETFLT)
    141141            case LISTHOSTONLYIFS:
    142142#endif
     
    297297
    298298        case LISTBRIDGEDIFS:
    299 #if (defined(RT_OS_WINDOWS) && defined(VBOX_WITH_NETFLT))
     299#if defined(VBOX_WITH_NETFLT)
    300300        case LISTHOSTONLYIFS:
    301301#endif
     
    304304            CHECK_ERROR(a->virtualBox, COMGETTER(Host)(host.asOutParam()));
    305305            com::SafeIfaceArray <IHostNetworkInterface> hostNetworkInterfaces;
    306 #if (defined(RT_OS_WINDOWS) && defined(VBOX_WITH_NETFLT))
     306#if defined(VBOX_WITH_NETFLT)
    307307            CHECK_ERROR(host,
    308308                    FindHostNetworkInterfacesOfType (
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