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

L2SS-244: Improved comment

parent 23e4fbdf
No related branches found
No related tags found
1 merge request!56L2SS-244: Expose the SSTs in MPs
......@@ -29,7 +29,7 @@ class StatisticsPacket(object):
def __init__(self, packet: bytes):
self.packet = packet
# Only parse valid packets
# Only parse valid statistics packets from SDP, reject everything else
if type(self.marker) == bytes or self.marker not in 'SBX':
raise ValueError("Invalid SDP statistics packet: packet marker (first byte) is '{}', not one of 'SBX'.".format(self.marker))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment