mirror of
https://github.com/oliverschmidt/contiki.git
synced 2025-01-21 23:31:11 +00:00
Merge pull request #284 from cetic/fix-cooja-pcap-fcs
Bugfix: Corrected wireshark bad FCS errors in COOJA Pcap export
This commit is contained in:
commit
ec26d6160e
@ -39,7 +39,7 @@ public class PcapExporter {
|
||||
out.writeInt((int) System.currentTimeMillis() / 1000);
|
||||
out.writeInt((int) ((System.currentTimeMillis() % 1000) * 1000));
|
||||
out.writeInt(data.length);
|
||||
out.writeInt(data.length);
|
||||
out.writeInt(data.length+2);
|
||||
/* and the data */
|
||||
out.write(data);
|
||||
out.flush();
|
||||
|
Loading…
x
Reference in New Issue
Block a user