From 7767430af228f552f00a8ccd8df3562cde755744 Mon Sep 17 00:00:00 2001 From: zzz <zzz@mail.i2p> Date: Mon, 5 Jan 2015 17:05:36 +0000 Subject: [PATCH] EepGet: Fix PcapWriter --- .../java/src/net/i2p/client/streaming/impl/PcapWriter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/streaming/java/src/net/i2p/client/streaming/impl/PcapWriter.java b/apps/streaming/java/src/net/i2p/client/streaming/impl/PcapWriter.java index 13b93ce7c1..754ebf28a5 100644 --- a/apps/streaming/java/src/net/i2p/client/streaming/impl/PcapWriter.java +++ b/apps/streaming/java/src/net/i2p/client/streaming/impl/PcapWriter.java @@ -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); -- GitLab