mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2025-06-28 20:05:08 +03:00
spelling: injection
This commit is contained in:
parent
49edb72058
commit
35cacc5640
@ -524,7 +524,7 @@ void NTAPI CalloutClassify(const FWPS_INCOMING_VALUES0* inFixedValues,
|
|||||||
FWPS_CLASSIFY_OUT0* classifyOut)
|
FWPS_CLASSIFY_OUT0* classifyOut)
|
||||||
{
|
{
|
||||||
NET_BUFFER_LIST *nbl = layerData;
|
NET_BUFFER_LIST *nbl = layerData;
|
||||||
FWPS_PACKET_INJECTION_STATE injecton_state;
|
FWPS_PACKET_INJECTION_STATE injection_state;
|
||||||
bool block = false;
|
bool block = false;
|
||||||
HANDLE hInjection = NULL;
|
HANDLE hInjection = NULL;
|
||||||
UINT ip_header_len = 0;
|
UINT ip_header_len = 0;
|
||||||
@ -552,9 +552,9 @@ void NTAPI CalloutClassify(const FWPS_INCOMING_VALUES0* inFixedValues,
|
|||||||
|
|
||||||
if (hInjection != NULL)
|
if (hInjection != NULL)
|
||||||
{
|
{
|
||||||
injecton_state = FwpsQueryPacketInjectionState0(hInjection, nbl, NULL);
|
injection_state = FwpsQueryPacketInjectionState0(hInjection, nbl, NULL);
|
||||||
|
|
||||||
if (injecton_state == FWPS_PACKET_INJECTED_BY_SELF || injecton_state == FWPS_PACKET_PREVIOUSLY_INJECTED_BY_SELF)
|
if (injection_state == FWPS_PACKET_INJECTED_BY_SELF || injection_state == FWPS_PACKET_PREVIOUSLY_INJECTED_BY_SELF)
|
||||||
{
|
{
|
||||||
//SetEvent(wfp->Event);
|
//SetEvent(wfp->Event);
|
||||||
classifyOut->actionType = FWP_ACTION_CONTINUE; // continue
|
classifyOut->actionType = FWP_ACTION_CONTINUE; // continue
|
||||||
|
Loading…
Reference in New Issue
Block a user