Changeset 14271 in vbox for trunk/src/VBox
- Timestamp:
- Nov 17, 2008 10:49:54 PM (16 years ago)
- Location:
- trunk/src/VBox
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/DrvIntNet.cpp
r13840 r14271 1014 1014 1015 1015 #elif defined(RT_OS_WINDOWS) && defined(VBOX_WITH_NETFLT) 1016 1017 if(OpenReq.enmTrunkType == kIntNetTrunkType_NetFlt) 1018 { 1016 1019 # 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 } 1024 1027 # endif 1025 if(OpenReq.enmTrunkType == kIntNetTrunkType_NetFlt) 1026 { 1028 1027 1029 char szBindName[INTNET_MAX_TRUNK_NAME]; 1028 1030 int cBindName = INTNET_MAX_TRUNK_NAME; -
trunk/src/VBox/Main/HostImpl.cpp
r14076 r14271 960 960 /* for the filter-based approach we get all miniports our filter (sun_VBoxNetFlt)is bound to */ 961 961 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 962 969 #endif 963 970 964 Assert(hr == S_OK);965 971 if(hr == S_OK) 966 972 { … … 1002 1008 VBoxNetCfgWinReleaseRef(pTcpIpNcc); 1003 1009 } 1010 else 1011 { 1012 LogRel(("failed to get the sun_VBoxNetFlt component, error (0x%x)", hr)); 1013 } 1014 1004 1015 VBoxNetCfgWinReleaseINetCfg(pNc, FALSE); 1005 1016 }
Note:
See TracChangeset
for help on using the changeset viewer.