> I am now  implementing some new features in my application which requires 
> to change dynamically the filtering expression.
> I am invoking in my callback routine the "pcap_compile" and 
> "pcap_setfilter" functions in order to modify the filter expression 
> dynamically.
> When doing that, the system crashes each time.

On what OS are you doing this?

By "system crashes", do you mean that the application crashes (core
dump), or the entire system crashes (kernel panic/etc.)?

If the entire system crashes, that's a kernel bug; report it to whoever
maintains the OS (or its kernel), and supply a sample program.

If the application crashes, could you show us a stack trace?
-
This is the TCPDUMP workers list. It is archived at
http://www.tcpdump.org/lists/workers/index.html
To unsubscribe use mailto:[EMAIL PROTECTED]?body=unsubscribe

Reply via email to