From d50b981d3839b212508523d02004ace41f1a731b Mon Sep 17 00:00:00 2001 From: Yang Luo Date: Thu, 16 Jun 2016 11:39:32 +0800 Subject: pcap: Add support to "new" Npcap native mode without setting PATH Npcap decided not to add "C:\Windows\System32\Npcap" to system PATH in the installation any more (starting from Npcap 0.07 r14). So this patch needs to be applied, otherwise Wireshark will not find Packet.dll (the error message will only say wpcap.dll is missing, but actually is Packet.dll missing). Change-Id: Ifd8b6e6d8ecf9866cd37c3368b604de210ff8c7b Reviewed-on: https://code.wireshark.org/review/15959 Reviewed-by: Yang Luo Petri-Dish: Pascal Quantin Tested-by: Petri Dish Buildbot Reviewed-by: Pascal Quantin --- rawshark.c | 1 + 1 file changed, 1 insertion(+) (limited to 'rawshark.c') diff --git a/rawshark.c b/rawshark.c index cd59d9fdf9..3d54ca3a63 100644 --- a/rawshark.c +++ b/rawshark.c @@ -574,6 +574,7 @@ main(int argc, char *argv[]) } #ifdef _WIN32 + ws_init_dll_search_path(); /* Load Wpcap, if possible */ load_wpcap(); #endif -- cgit v1.2.1