Re: [tcpdump-workers] Bug in Pcap Compile?

2010-06-24 Thread Erwin van Eijk
Hello Steve, > 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. That is because you

Re: [tcpdump-workers] Bug in Pcap Compile?

2010-06-24 Thread Guy Harris
On Jun 23, 2010, at 5:37 PM, Steve Scott wrote: > 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 backslashes are unnecessary. If I do