tcpdump mailing list archives

Couldn't parse filter scr port 22000: syntax error


From: wen lui <esolvepolito () gmail com>
Date: Mon, 18 Mar 2013 10:55:42 +0100

Hi, all

    I used the following filter rules to capture packets,

         tcpdump -i eth0 src port 22000

   it works fine, however, when I used it libpcap functions pcap_compile()
and pcap_setfilter()

   it output an error: Couldn't parse filter scr port 22000: syntax error


   what is wrong with this? thanks!
_______________________________________________
tcpdump-workers mailing list
tcpdump-workers () lists tcpdump org
https://lists.sandelman.ca/mailman/listinfo/tcpdump-workers


Current thread: