Commit 0f4c9f93 authored by Brickner_cp's avatar Brickner_cp

Compare IPv4 Options to Wireshark better

parent 4a21e82c
...@@ -6,7 +6,6 @@ using System.IO; ...@@ -6,7 +6,6 @@ using System.IO;
using System.Linq; using System.Linq;
using System.Reflection; using System.Reflection;
using System.Text; using System.Text;
using System.Threading;
using System.Xml.Linq; using System.Xml.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting; using Microsoft.VisualStudio.TestTools.UnitTesting;
using PcapDotNet.Base; using PcapDotNet.Base;
...@@ -589,6 +588,7 @@ namespace PcapDotNet.Core.Test ...@@ -589,6 +588,7 @@ namespace PcapDotNet.Core.Test
Assert.IsFalse(options.IsValid); Assert.IsFalse(options.IsValid);
Assert.IsTrue(field.Show() == "Commercial IP security option" || Assert.IsTrue(field.Show() == "Commercial IP security option" ||
field.Show() == "Loose source route (length byte past end of options)" || field.Show() == "Loose source route (length byte past end of options)" ||
field.Show() == "Time stamp:" ||
field.Show().StartsWith("Unknown") || field.Show().StartsWith("Unknown") ||
field.Show().StartsWith("Security") || field.Show().StartsWith("Security") ||
field.Show().StartsWith("Router Alert (with option length = ") || field.Show().StartsWith("Router Alert (with option length = ") ||
......
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