When  I use this pcap compile string, my gcc compiler builds the executable, 
but the pcap compile fails at run time:

"\\(tcp or udp\\) and \\(src host 172.19.18.2 or src host 172.19.18.3\\)"

The string above works well from the Linux command shell.

But at run time, this error message appears from pcap;

Error compiling filter (\( tcp or udp \) and \( src host 172.19.18.2 or src 
host 172.19.18.3 \) ): illegal token: \

Is this a bug in the pcap compiler?

Steve Scott
Apriva.com





-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.

Reply via email to