commit | fca9aa7555a25839029e9a2fabb8356307571f94 | [log] [tgz] |
---|---|---|
author | Gisle Vanem <gvanem@yahoo.no> | Sat May 10 06:43:36 2014 -0700 |
committer | Gisle Vanem <gvanem@yahoo.no> | Sat May 10 06:43:36 2014 -0700 |
tree | c15d9b34fe9199ec890aa01e6190a9002556c01a | |
parent | 2ed373e83bccc4253e23d21352a3029781144725 [diff] |
pcap_compile() fix for Win32 Entangled this Italian spaghetti: ensure wsockinit() is called once to initialise the g_PcapCompileCriticalSection crit-sect. DllMain() used to do it, but not anymore since that wouldn't work when using libpcap as a static library.