We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
IPv6 TotalLength & PayloadLength & aren't calculated properly. I looked at code and saw UpdateCalculatedValues was not overrided by IPv6Packet.
var buffer = new byte[100]; var packetv6 = new IPv6Packet(IPAddress.IPv6Loopback, IPAddress.IPv6Loopback) { Protocol = PacketDotNet.ProtocolType.Gre }; packetv6.PayloadData = buffer; packetv6.UpdateCalculatedValues();
packetv6.TotalLength is expected 140 but it is 40 packetv6.PayloadLength is expected 100 but it is 0
The text was updated successfully, but these errors were encountered:
The PayloadLength must be set manually after changing payload right now, but I think this behavior can be slightly improved.
Sorry, something went wrong.
No branches or pull requests
IPv6 TotalLength & PayloadLength & aren't calculated properly. I looked at code and saw UpdateCalculatedValues was not overrided by IPv6Packet.
packetv6.TotalLength is expected 140 but it is 40
packetv6.PayloadLength is expected 100 but it is 0
The text was updated successfully, but these errors were encountered: