Merge pull request #465 from cetic/cooja-pcap
Cooja Pcap export: Reverts PR #284 to fix #420
This commit is contained in:
commit
ec5039b9eb
|
@ -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+2);
|
out.writeInt(data.length);
|
||||||
/* and the data */
|
/* and the data */
|
||||||
out.write(data);
|
out.write(data);
|
||||||
out.flush();
|
out.flush();
|
||||||
|
|
Loading…
Reference in a new issue