Skip to content
Snippets Groups Projects
Commit e28fc9af authored by Phil's avatar Phil
Browse files

Fixed PacketList.sessions()' session extractor

parent 4d7fd6a2
No related branches found
No related tags found
No related merge requests found
......@@ -411,6 +411,7 @@ lfilter: truth function to apply to each packet to decide whether it will be dis
def sessions(self, session_extractor=None):
if session_extractor is None:
def session_extractor(p):
sess = "Other"
if 'Ether' in p:
if 'IP' in p:
if 'TCP' in p:
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment