From a8970e5e31d261284464ef02564b60e1ddb0c4e4 Mon Sep 17 00:00:00 2001
From: Jan David Mol <mol@astron.nl>
Date: Tue, 15 Jun 2021 10:36:39 +0200
Subject: [PATCH] L2SS-244: Corrected packet size calculation

---
 devices/clients/SDP_statistics.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/devices/clients/SDP_statistics.py b/devices/clients/SDP_statistics.py
index b8417ef58..fbfc0e38d 100644
--- a/devices/clients/SDP_statistics.py
+++ b/devices/clients/SDP_statistics.py
@@ -36,7 +36,7 @@ class StatisticsPacket(object):
     def expected_size(self) -> int:
         """ The size this packet should be (header + payload), according to the header. """
 
-        return 78 + self.nof_statistics_per_packet * self.nof_bytes_per_statistic
+        return 32 + self.nof_statistics_per_packet * self.nof_bytes_per_statistic
 
     @property
     def marker(self) -> str:
-- 
GitLab