VirtualBox

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


Ignore:
Timestamp:
Nov 17, 2008 10:49:54 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
39445
Message:

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

File:
1 edited

Legend:

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

    r14076 r14271  
    960960        /* for the filter-based approach we get all miniports our filter (sun_VBoxNetFlt)is bound to */
    961961        hr = pNc->FindComponent(L"sun_VBoxNetFlt", &pTcpIpNcc);
     962# ifndef VBOX_WITH_HARDENING
     963        if(hr != S_OK)
     964        {
     965            /* TODO: try to install the netflt from here */
     966        }
     967# endif
     968
    962969#endif
    963970
    964         Assert(hr == S_OK);
    965971        if(hr == S_OK)
    966972        {
     
    10021008            VBoxNetCfgWinReleaseRef(pTcpIpNcc);
    10031009        }
     1010        else
     1011        {
     1012            LogRel(("failed to get the sun_VBoxNetFlt component, error (0x%x)", hr));
     1013        }
     1014
    10041015        VBoxNetCfgWinReleaseINetCfg(pNc, FALSE);
    10051016    }
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette