diff --git a/src/main/java/fr/ntr/Packets.java b/src/main/java/fr/ntr/Packets.java index 16b2cb3..35b0460 100644 --- a/src/main/java/fr/ntr/Packets.java +++ b/src/main/java/fr/ntr/Packets.java @@ -8,6 +8,7 @@ public class Packets { private int bitsNumberRemaining; public Packets(int startTimeSending){ + this.bitsNumberRemaining = packetSize; this.startTimeSending = startTimeSending; }