Ask Your Question

Revision history [back]

Different statistic results of tshark and wireshark for the same pcap file

I want to calculate the number and size of packets in the trace file, and I get the same number of packets in tshark and wireshark, but the bytes are not the same, in tshark it's:

    olsr                             frames:1171 bytes:142792
    data                             frames:571 bytes:73088
  icmp                               frames:196 bytes:18032


However in wireshark the bytes of olsr, data, icmp are respectively 67848 36544 7056.

The pcap file is here: