Skip to content
Snippets Groups Projects
Commit a8970e5e authored by Jan David Mol's avatar Jan David Mol
Browse files

L2SS-244: Corrected packet size calculation

parent 09fdb2ac
No related branches found
No related tags found
1 merge request!56L2SS-244: Expose the SSTs in MPs
...@@ -36,7 +36,7 @@ class StatisticsPacket(object): ...@@ -36,7 +36,7 @@ class StatisticsPacket(object):
def expected_size(self) -> int: def expected_size(self) -> int:
""" The size this packet should be (header + payload), according to the header. """ """ 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 @property
def marker(self) -> str: def marker(self) -> str:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment