-
Notifications
You must be signed in to change notification settings - Fork 105
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
Can not convert a LLDP packet to bytes #8
Comments
Hello. If you had a .pcap file with the least number of packets required to reproduce the issue I could use that to create a unit test and fix this issue. |
You may add a test at
It throws |
Hi @UlyssesWu. I'm closing this out as it has been open for a while now but we appreciate you reporting it. We would love to have a PR to help resolve this issue and add a test for this case, we just haven't had the time to resolve it here. |
As description in HERE, when constructing a LLDP packet and getting bytes by calling
Packet.Bytes
, we will get a NullReferenceException (see the stackoverflow page for details).And there is a workaround in that page:
After "reparsing" we can get the bytes. I think this may be a bug. also see
The text was updated successfully, but these errors were encountered: