contiki-os/contiki — pull request #284 by sdawans (2013-06-24 12:05:26+00:00)
Title: Bugfix: Corrected wireshark bad FCS errors in COOJA Pcap export

Corrects the "Bad FCS" error in Wireshark, which is due to the difference in size between the captured packet and the expected packet when FCS is not captured. Wireshark simply ignores the missing FCS when the size of the captured packet correctly reflects the missing FCS.

See http://www.winpcap.org/ntar/draft/PCAP-DumpFileFormat.html#sectionepb

Packet Len: actual length of the packet when it was transmitted on the network.
Can be different from captured len if the packet has been truncated by the capture process.