Cooja Pcap export: Reverts PR #284 to fix #420

This commit is contained in:
Sébastien Dawans 2013-11-25 10:20:59 +01:00
parent b133e387bd
commit 700994ec1c

View file

@ -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+2);
out.writeInt(data.length);
/* and the data */
out.write(data);
out.flush();