Commit 39ca222f authored by Brickner_cp's avatar Brickner_cp

IPv6

Code Coverage 95.94%
parent cf2a308f
......@@ -34,9 +34,6 @@ namespace PcapDotNet.Packets.IpV6
internal override sealed void Write(byte[] buffer, ref int offset)
{
base.Write(buffer, ref offset);
// TODO: Remove this check.
if (DataLength > byte.MaxValue)
throw new InvalidOperationException("DataLength is too big.");
buffer[offset++] = (byte)DataLength;
WriteData(buffer, ref offset);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment