Skip to content

Commit

Permalink
If we get packet filter from above, it's clean.
Browse files Browse the repository at this point in the history
  • Loading branch information
bonsaiviking committed Aug 13, 2022
1 parent 4d5c499 commit 6a9a2bd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packetWin7/npf/npf/Openclos.c
Original file line number Diff line number Diff line change
@@ -2500,6 +2500,7 @@ NOTE: Called at <= DISPATCH_LEVEL (unlike a miniport's MiniportOidRequest)
{
case OID_GEN_CURRENT_PACKET_FILTER:
pFiltMod->HigherPacketFilter = *(ULONG *) Request->DATA.SET_INFORMATION.InformationBuffer;
pFiltMod->PacketFilterOK = 1;
if (*(PULONG) pBuffer & ~pFiltMod->SupportedPacketFilters)
WARNING_DBG("Upper driver setting unsupported packet filter: %#x\n", *(PULONG) pBuffer);
*(PULONG) pBuffer = pFiltMod->HigherPacketFilter | pFiltMod->MyPacketFilter;

0 comments on commit 6a9a2bd

Please sign in to comment.