Skip to content

Commit

Permalink
loader.c: Search for packet.dll to detect pcap lib
Browse files Browse the repository at this point in the history
  • Loading branch information
MasonT8198 authored Mar 24, 2024
1 parent 94d826a commit 39d453b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion winpcap-loader/loader.c
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,10 @@ int pcap_load_library(void)

HANDLE hwpcap = LoadLibrary("wpcap.dll");
if (hwpcap == NULL) {
return 1;
HANDLE hwpcap = LoadLibrary("packet.dll");
if ( hwpcap == NULL ) {
return 1;
}
}

#define LOAD_FN(fname) do {\
Expand Down

0 comments on commit 39d453b

Please sign in to comment.