[Snort-devel] USE_PTHREADS

Phil Wood cpw at ...86...
Wed Jan 23 10:45:05 EST 2002


Folks,

I was looking over the use of USE_PTHREADS, pds[MAX_INTERFACES], and the
#define pd pds[0] in snort.[ch] with respect to pcap_stats.  It appears
to me that pcap_stats will always be called with "pd" which is always
pds[0].  Would it be a good idea to make myint a global and then
#define pd pds[myint]?

Thanks,

Phil




More information about the Snort-devel mailing list