VirtualBox

Changeset 40910 in vbox


Ignore:
Timestamp:
Apr 14, 2012 7:01:24 AM (13 years ago)
Author:
vboxsync
Message:

FreeBSD/NetIf: Add support for IFT_L2VLAN interfaces when enumerating interfaces (Thanks to Landon Fuller)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-server/freebsd/NetIf-freebsd.cpp

    r36797 r40910  
    269269        }
    270270
    271         if (pSdl->sdl_type == IFT_ETHER)
     271        if (pSdl->sdl_type == IFT_ETHER || pSdl->sdl_type == IFT_L2VLAN)
    272272        {
    273273            struct ifreq IfReq;
     
    374374        }
    375375
    376         if (!fSkip && pSdl->sdl_type == IFT_ETHER)
     376        if (!fSkip && (pSdl->sdl_type == IFT_ETHER || pSdl->sdl_type == IFT_L2VLAN))
    377377        {
    378378            size_t cbNameLen = pSdl->sdl_nlen + 1;
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