EepGet: Fix PcapWriter

This commit is contained in:
zzz
2015-01-05 17:05:36 +00:00
parent 2e5185aa99
commit 7767430af2

View File

@ -232,7 +232,7 @@ public class PcapWriter {
// wireshark wants the seq # in a SYN packet to be one less than the first data packet,
// so let's set it to 0. ???????????
if (pkt.isFlagSet(Packet.FLAG_SYNCHRONIZE))
seq = 0xffffffff;
seq = 0xffffffffL;
else
seq = pkt.getSequenceNum();
DataHelper.writeLong(_fos, 4, seq);