Misordered entries in struct callback callbacks[]

Yotam Rubin yotam at makif.omer.k12.il
Tue Nov 13 13:09:09 EST 2001


Greetings,

	It appears as if Arguslookup_pcap_callback() cannot return a pointer
to the raw packet handling routine. The loop is terminated whenever it 
encounters a NULL callback.function. Now take a look at the definition of
struct callback callbacks[] in server/ArgusSource.h, the handler for 
DLT_NULL is being defined before the handler for DLT_RAW, thus making 
the DLT_RAW entry unreachable by Arguslookup_pcap_callback().
Switching the lines should remedy the problem.

	Regards, Yotam Rubin



More information about the argus mailing list