Commit 6fda5cb1 authored by Brickner_cp's avatar Brickner_cp

IPv6

parent 25040777
......@@ -82,7 +82,7 @@ namespace PcapDotNet.Packets.Test
// IpV6
Assert.AreEqual(ipV6Layer, packet.Ethernet.IpV6.ExtractLayer(), "IP Layer");
Assert.IsNotNull(ipV6Layer.GetHashCode());
Assert.AreEqual(ipV6Layer.Source + " -> " + ipV6Layer.CurrentDestination, ipV6Layer.ToString());
Assert.AreEqual(string.Format("{0} -> {1} ({2})", ipV6Layer.Source, ipV6Layer.CurrentDestination, ipV6Layer.NextHeader), ipV6Layer.ToString());
/*
if (packet.Ethernet.IpV6.NextHeader == IpV4Protocol.Tcp)
Assert.IsInstanceOfType(packet.Ethernet.IpV6.Transport, typeof(TcpDatagram));
......
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