Skip to content

Commit

Permalink
Fake success setting packet filter when it's not supported.
Browse files Browse the repository at this point in the history
  • Loading branch information
bonsaiviking committed Aug 19, 2022
1 parent c7316ec commit f247dfb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions packetWin7/npf/npf/Openclos.c
Original file line number Diff line number Diff line change
Expand Up @@ -3087,6 +3087,7 @@ NPF_SetPacketFilter(
{
INFO_DBG("pFiltMod(%p) can't set PacketFilter; no valid HigherPacketFilter present.\n", pFiltMod);
// Have to fake success; many miniport types don't like queries to OID_GEN_CURRENT_PACKET_FILTER.
Status = STATUS_SUCCESS;
bail_early = TRUE;
}
}
Expand Down
2 changes: 1 addition & 1 deletion version.h
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@
#define /*
!define /**/ WINPCAP_REV 71
#define /*
!define /**/ WINPCAP_BUILD 1816
!define /**/ WINPCAP_BUILD 1819
#define /*
!define /**/ WINPCAP_VER_STRING "1.71"
#define /*
Expand Down

0 comments on commit f247dfb

Please sign in to comment.