VirtualBox

Changeset 14271 in vbox for trunk/src/VBox/Devices/Network


Ignore:
Timestamp:
Nov 17, 2008 10:49:54 PM (16 years ago)
Author:
vboxsync
Message:

NetFlt/win: fixes for the case NetFlt is not installed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Network/DrvIntNet.cpp

    r13840 r14271  
    10141014
    10151015#elif defined(RT_OS_WINDOWS) && defined(VBOX_WITH_NETFLT)
     1016
     1017    if(OpenReq.enmTrunkType == kIntNetTrunkType_NetFlt)
     1018    {
    10161019# ifndef VBOX_NETFLT_ONDEMAND_BIND
    1017     /* we have a ndis filter driver started on system boot before the VBoxDrv,
    1018      * tell the filter driver to init VBoxNetFlt functionality */
    1019     rc = drvIntNetWinConstruct(pDrvIns, pCfgHandle);
    1020     if (RT_FAILURE(rc))
    1021     {
    1022         return rc;
    1023     }
     1020        /* we have a ndis filter driver started on system boot before the VBoxDrv,
     1021         * tell the filter driver to init VBoxNetFlt functionality */
     1022        rc = drvIntNetWinConstruct(pDrvIns, pCfgHandle);
     1023        if (RT_FAILURE(rc))
     1024        {
     1025            return rc;
     1026        }
    10241027# endif
    1025     if(OpenReq.enmTrunkType == kIntNetTrunkType_NetFlt)
    1026     {
     1028
    10271029        char szBindName[INTNET_MAX_TRUNK_NAME];
    10281030        int cBindName = INTNET_MAX_TRUNK_NAME;
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