On Tue, 2004-01-06 at 15:30, Jesper Peterson wrote:
> 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.Right, I know about this issue and plan to fix it. We also have to put alloc_buffer_cb/free_buffer_cb withing the pcap_t structure. -- Yoann Vandoorselaere <[EMAIL PROTECTED]>
signature.asc
Description: This is a digitally signed message part
