]> The Tcpdump Group git mirrors - libpcap/commit
Call WSAStartup/WSACleanup for each use. Fixes #1333
authorDaniel Miller <[email protected]>
Tue, 17 Sep 2024 16:03:01 +0000 (09:03 -0700)
committerGuy Harris <[email protected]>
Sat, 21 Sep 2024 22:26:21 +0000 (15:26 -0700)
commit385d8540de9d6286e17591ebc370b592ca8d534a
tree51462a7df1d3c511dedaa44e6f7026cf498b67ce
parenta18461f24e5314d37526106e5008b832d17cbdd3
Call WSAStartup/WSACleanup for each use. Fixes #1333

WSACleanup cannot be called from atexit() because that's run in DllMain
context. Instead, start and cleanup at each use, using new static inline
functions pcapint_sockinit() and pcapint_sockcleanup()
gencode.c
pcap-npf.c
pcap.3pcap.in
pcap.c
pcap_init.3pcap
portability.h
rpcapd/log.c
testprogs/filtertest.c