tcpdump mailing list archives
Bug in Pcap Compile?
From: Steve Scott <sscott () apriva com>
Date: Wed, 23 Jun 2010 17:37:04 -0700
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.
Current thread:
- Bug in Pcap Compile? Steve Scott (Jun 23)
- Re: Bug in Pcap Compile? Guy Harris (Jun 24)
- Re: Bug in Pcap Compile? Erwin van Eijk (Jun 24)