Commit d84f10c4 authored by Brickner_cp's avatar Brickner_cp

IPv6

Code Coverage 96.11%
parent 0a58b798
...@@ -115,6 +115,7 @@ namespace PcapDotNet.Core.Test ...@@ -115,6 +115,7 @@ namespace PcapDotNet.Core.Test
protocol == IpV4Protocol.SpriteRpc || protocol == IpV4Protocol.SpriteRpc ||
protocol == IpV4Protocol.CombatRadioUserDatagram || protocol == IpV4Protocol.CombatRadioUserDatagram ||
protocol == IpV4Protocol.Gmtp || protocol == IpV4Protocol.Gmtp ||
protocol == IpV4Protocol.MobileHostRoutingProtocol ||
protocol == IpV4Protocol.Shim6 || // TODO: Implement Shim6. protocol == IpV4Protocol.Shim6 || // TODO: Implement Shim6.
protocol == IpV4Protocol.RemoteVirtualDiskProtocol)) protocol == IpV4Protocol.RemoteVirtualDiskProtocol))
return false; return false;
......
...@@ -164,7 +164,7 @@ namespace PcapDotNet.Packets.IpV6 ...@@ -164,7 +164,7 @@ namespace PcapDotNet.Packets.IpV6
{ {
return base.GetHashCode() ^ return base.GetHashCode() ^
Sequence.GetHashCode(BitSequence.Merge(TrafficClass, HopLimit), Sequence.GetHashCode(BitSequence.Merge(TrafficClass, HopLimit),
FlowLabel, Source, CurrentDestination, NextHeader) ^ ExtensionHeaders.SequenceGetHashCode(); FlowLabel, Source, CurrentDestination, NextHeader) ^ ExtensionHeaders.GetHashCode();
} }
/// <summary> /// <summary>
......
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