Commit 9872b0bd authored by Boaz Brickner's avatar Boaz Brickner

Wireshark 1.12.8

parent a1f5d127
...@@ -4,6 +4,8 @@ using System.Reflection; ...@@ -4,6 +4,8 @@ using System.Reflection;
using System.Xml.Linq; using System.Xml.Linq;
using PcapDotNet.Base; using PcapDotNet.Base;
using PcapDotNet.Packets; using PcapDotNet.Packets;
using PcapDotNet.Packets.IpV4;
using PcapDotNet.Packets.IpV6;
namespace PcapDotNet.Core.Test namespace PcapDotNet.Core.Test
{ {
...@@ -48,6 +50,10 @@ namespace PcapDotNet.Core.Test ...@@ -48,6 +50,10 @@ namespace PcapDotNet.Core.Test
bool success = true; bool success = true;
foreach (var element in layer.Fields()) foreach (var element in layer.Fields())
{ {
// TODO: Remove this hack when https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=11802 is fixed.
IpV6Datagram ipV6ParentDatagram = parentDatagram as IpV6Datagram;
if (ipV6ParentDatagram != null && (ipV6ParentDatagram.NextHeader == IpV4Protocol.IsoIp || ipV6ParentDatagram.ExtensionHeaders.NextHeader == IpV4Protocol.IsoIp))
return false;
if (!CompareField(element, parentDatagram, datagram)) if (!CompareField(element, parentDatagram, datagram))
{ {
success = false; success = false;
......
...@@ -52,6 +52,7 @@ namespace PcapDotNet.Core.Test ...@@ -52,6 +52,7 @@ namespace PcapDotNet.Core.Test
IpV4Protocol.IpComp, // TODO: Support IpComp. IpV4Protocol.IpComp, // TODO: Support IpComp.
IpV4Protocol.Ax25, // TODO: Support Ax25. IpV4Protocol.Ax25, // TODO: Support Ax25.
IpV4Protocol.FibreChannel, // TODO: Support FibreChannel. IpV4Protocol.FibreChannel, // TODO: Support FibreChannel.
IpV4Protocol.MultiprotocolLabelSwitchingInIp, // TODO: Support MPLS.
}.Contains(icmpIpV4PayloadDatagram.IpV4.Protocol)) }.Contains(icmpIpV4PayloadDatagram.IpV4.Protocol))
{ {
if (icmpIpV4PayloadDatagram.IpV4.Protocol == IpV4Protocol.Udp) if (icmpIpV4PayloadDatagram.IpV4.Protocol == IpV4Protocol.Udp)
...@@ -173,8 +174,9 @@ namespace PcapDotNet.Core.Test ...@@ -173,8 +174,9 @@ namespace PcapDotNet.Core.Test
case "icmp.resptime": case "icmp.resptime":
break; break;
// TODO: Remove this case when https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=10939 is fixed.
case "icmp.length": case "icmp.length":
// TODO: Uncomment this case when https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=10939 is fixed.
// field.AssertShowDecimal(((IcmpParameterProblemDatagram)icmpDatagram).OriginalDatagramLength);
break; break;
default: default:
......
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