Yoann Vandoorselaere wrote:
+        if ( ! alloc_buffer_cb ) {
+                static struct pcap_pkthdr hdr;
+                return &hdr;
+        }

This isn't re-entrant. To allow multithreading and building libpcap as a DLL, the default header buffer should probably be in pcap_t.



-- Jesper Peterson, Senior Software Developer http://www.endace.com, +64 7 839 0540

-
This is the TCPDUMP workers list. It is archived at
http://www.tcpdump.org/lists/workers/index.html
To unsubscribe use mailto:[EMAIL PROTECTED]

Reply via email to