VirtualBox

Changeset 15511 in vbox for trunk/src/VBox/Main


Ignore:
Timestamp:
Dec 15, 2008 3:38:07 PM (16 years ago)
Author:
vboxsync
Message:

#3282: Fix for non-Windows builds.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/HostNetworkInterfaceImpl.cpp

    r15510 r15511  
    130130    m.IPV6NetworkMask = composeIPv6Address(&pIf->IPv6NetMask);
    131131    m.hardwareAddress = composeHardwareAddress(&pIf->MACAddress);
     132#ifdef RT_OS_WINDOWS
    132133    m.type = (HostNetworkInterfaceType)pIf->enmType;
    133134    m.status = (HostNetworkInterfaceStatus)pIf->enmStatus;
     135#else /* !RT_OS_WINDOWS */
     136    m.type = pIf->enmType;
     137    m.status = pIf->enmStatus;
     138#endif /* !RT_OS_WINDOWS */
    134139
    135140    /* Confirm a successful initialization */
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