mirror of
https://github.com/oliverschmidt/contiki.git
synced 2025-08-09 17:25:00 +00:00
Bugfix: Corrected wireshark bad FCS errors in COOJA Pcap export
This commit is contained in:
committed by
Sébastien Dawans
parent
f606322ae0
commit
d1f12638b4
@@ -39,7 +39,7 @@ public class PcapExporter {
|
|||||||
out.writeInt((int) System.currentTimeMillis() / 1000);
|
out.writeInt((int) System.currentTimeMillis() / 1000);
|
||||||
out.writeInt((int) ((System.currentTimeMillis() % 1000) * 1000));
|
out.writeInt((int) ((System.currentTimeMillis() % 1000) * 1000));
|
||||||
out.writeInt(data.length);
|
out.writeInt(data.length);
|
||||||
out.writeInt(data.length);
|
out.writeInt(data.length+2);
|
||||||
/* and the data */
|
/* and the data */
|
||||||
out.write(data);
|
out.write(data);
|
||||||
out.flush();
|
out.flush();
|
||||||
|
Reference in New Issue
Block a user