Fix a wrong length when there is unknown Atheros IE Data
[obnox/wireshark/wip.git] / capture_wpcap_packet.c
index 39060e8639d5c416b667d2b3885398c06f3c62eb..58e30ff42b3853860b39cd426d48bfa0ee221f42 100644 (file)
@@ -49,6 +49,7 @@
 #include <Ntddndis.h>
 
 #include "capture_wpcap_packet.h"
+#include <wsutil/file_util.h>
 
 /* packet32.h requires sockaddr_storage
  * whether sockaddr_storage is defined or not depends on the Platform SDK
@@ -157,7 +158,7 @@ wpcap_packet_load(void)
     GModule     *wh; /* wpcap handle */
     const symbol_table_t    *sym;
 
-    wh = g_module_open("packet", 0);
+    wh = ws_module_open("packet.dll", 0);
 
     if (!wh) {
         return;