path: root/wireshark-qt.cpp
diff options
authorYang Luo <hsluoyz@gmail.com>2016-06-16 11:39:32 +0800
committerPascal Quantin <pascal.quantin@gmail.com>2016-06-21 08:19:35 +0000
commitd50b981d3839b212508523d02004ace41f1a731b (patch)
tree441314171f23509bff0044ddd4ca6ee2d89f2819 /wireshark-qt.cpp
parent6ccee3ecd52b1827152a813fc05b0bca73bb5d1d (diff)
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 <hsluoyz@gmail.com> Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
Diffstat (limited to 'wireshark-qt.cpp')
1 files changed, 1 insertions, 0 deletions
diff --git a/wireshark-qt.cpp b/wireshark-qt.cpp
index 6aff597..16fc62d 100644
--- a/wireshark-qt.cpp
+++ b/wireshark-qt.cpp
@@ -383,6 +383,7 @@ int main(int argc, char *argv[])
g_log(NULL, G_LOG_LEVEL_DEBUG, "progfile_dir: %s", get_progfile_dir());
#ifdef _WIN32
+ ws_init_dll_search_path();
/* Load wpcap if possible. Do this before collecting the run-time version information */