Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

First Packet is Discarded #250

Closed
KartikKillawala opened this issue Feb 19, 2018 · 6 comments
Closed

First Packet is Discarded #250

KartikKillawala opened this issue Feb 19, 2018 · 6 comments
Labels
old-auto-close Reopen if still relevant

Comments

@KartikKillawala
Copy link

I am new to pyshark and was working on one trace file where I observed that when the param only_summaries is set to True, it discards the first packet and stores only the second packet onwards. How can we get access to the first packet then?

@laixintao
Copy link
Contributor

@KartikKillawala Same issue here. When setonly_summaries=True will lost first packet.

I am trying to fix this. @KimiNewt Did you still maintain this repo?

@bishop527
Copy link

I do NOT have only_summaries=True and I'm also losing the first packet.

@bishop527
Copy link

discovered that if I use only_summaries=False (prior I didn't use only_summaries at all), i do not loose the first packet.

@laixintao
Copy link
Contributor

I fix this by #255 , you can refer.

@bishop527
Copy link

#255 fails the checks for python 3.6, which is what I'm using.
Regardless, I don't think a fix is needed. All you need to do is add only_summaries=False to LiveCapture

@sam3125C
Copy link

sam3125C commented Jul 6, 2018

I am user of Python 3.65. And I updates the PyShark to latest version. I still lost the first packet when the option only_summaries=True.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
old-auto-close Reopen if still relevant
Projects
None yet
Development

No branches or pull requests

5 participants