Commit 4e0de02e authored by Brickner_cp's avatar Brickner_cp

Fixed tests

parent 175099a5
......@@ -796,7 +796,7 @@ namespace PcapDotNet.Core.Test
IList<LivePacketDevice> devices = LivePacketDevice.AllLocalMachine;
MoreAssert.IsBiggerOrEqual(1, devices.Count);
LivePacketDevice device = devices[0];
MoreAssert.IsMatch(@"Network adapter '.*\(.*\) ?' on local host", device.Description);
MoreAssert.IsMatch(@"Network adapter '.*' on local host", device.Description);
Assert.AreEqual(DeviceAttributes.None, device.Attributes);
MoreAssert.IsInRange(1, 2, device.Addresses.Count);
foreach (DeviceAddress address in device.Addresses)
......
......@@ -460,7 +460,7 @@ namespace PcapDotNet.Core.Test
break;
case "ip.flags":
field.AssertShowHex((byte)((ushort)ipV4Datagram.Fragmentation.Options >> 12));
field.AssertShowHex((byte)((ushort)ipV4Datagram.Fragmentation.Options >> 13));
break;
case "ip.frag_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