VirtualBox

Changeset 13544 in vbox


Ignore:
Timestamp:
Oct 23, 2008 5:37:55 PM (16 years ago)
Author:
vboxsync
Message:

win NetFlt/Main: fix for adaptor list calculation

File:
1 edited

Legend:

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

    r13433 r13544  
    661661    (*Iface2).COMGETTER(Name) (Iface2Str.asOutParam());
    662662
    663     return Iface1Str < Iface2Str;   
     663    return Iface1Str < Iface2Str;
    664664}
    665665
     
    12561256    if(hr == S_OK)
    12571257    {
    1258         /* for now we just get all miniports the MS_TCPIP protocol binds to */
     1258#ifdef VBOX_NETFLT_ONDEMAND_BIND
     1259        /* for the protocol-based approach for now we just get all miniports the MS_TCPIP protocol binds to */
    12591260        hr = pNc->FindComponent(L"MS_TCPIP", &pTcpIpNcc);
     1261#else
     1262        /* for the filter-based approach we get all miniports our filter (sun_VBoxNetFlt)is bound to */
     1263        hr = pNc->FindComponent(L"sun_VBoxNetFlt", &pTcpIpNcc);
     1264#endif
     1265
    12601266        Assert(hr == S_OK);
    12611267        if(hr == S_OK)
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