We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5ccf6a7 + 80413a7 commit 5bef368Copy full SHA for 5bef368
src/pyshark/tshark/output_parser/tshark_xml.py
@@ -22,7 +22,7 @@ def __init__(self, parse_summaries=False):
22
self._psml_structure = None
23
24
async def get_packets_from_stream(self, stream, existing_data, got_first_packet=True):
25
- if self._parse_summaries:
+ if self._parse_summaries and self._psml_structure is None:
26
existing_data = await self._get_psml_struct(stream)
27
return await super().get_packets_from_stream(stream, existing_data, got_first_packet=got_first_packet)
28
0 commit comments