Merge pull request #465 from cetic/cooja-pcap

Cooja Pcap export: Reverts PR #284 to fix #420
This commit is contained in:
Fredrik Österlind 2013-11-25 23:53:26 -08:00
commit ec5039b9eb

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();