Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-users: Re: [Wireshark-users] Tshark Tcap filtering

From: Jeff Morriss <jeff.morriss.ws@xxxxxxxxx>
Date: Tue, 20 Sep 2011 10:14:58 -0400
Erdinç Taşkın wrote:
Hello,

I have a problem about filtering from pcap file. I got a capture file that created by tcpdump. I use filter criteria that "(tcap.tid == 01:5e:00:00) || (tcap.tid == 53:d0:90:96)" on wireshark found packet. On same capture file, using tshark (exact command "/tshark -R "(tcap.tid == 01:5e:00:00) || (tcap.tid == 53:d0:90:96)" -r test.pcap") does not match any packet. What is wrong?

What version are you using? It works fine for me using the current trunk (which would probably be equivalent to 1.6.2 for this test).

If you run tshark without the read filter and with "-V" do you see the TCAP part, in particular the TIDs?