Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
P
Pcap-Net
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
Pcap-Net
Commits
44f22cf6
Commit
44f22cf6
authored
Feb 06, 2015
by
Brickner_cp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Wireshark 1.12.3
parent
5c6a0eb2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
107 additions
and
17 deletions
+107
-17
WiresharkDatagramComparerDns.cs
.../src/PcapDotNet.Core.Test/WiresharkDatagramComparerDns.cs
+5
-4
WiresharkDatagramComparerIpV6MobilityHeader.cs
....Core.Test/WiresharkDatagramComparerIpV6MobilityHeader.cs
+100
-13
WiresharkDatagramComparerTcp.cs
.../src/PcapDotNet.Core.Test/WiresharkDatagramComparerTcp.cs
+2
-0
No files found.
PcapDotNet/src/PcapDotNet.Core.Test/WiresharkDatagramComparerDns.cs
View file @
44f22cf6
...
...
@@ -178,14 +178,12 @@ namespace PcapDotNet.Core.Test
break
;
case
"dns.qry.name.len"
:
// TODO: Remove the IsRoot condition when https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=10674 is fixed.
resourceRecordAttributeField
.
AssertShowDecimal
(
resourceRecord
.
DomainName
.
IsRoot
?
6
:
resourceRecord
.
DomainName
.
NonCompressedLength
-
2
);
resourceRecordAttributeField
.
AssertShowDecimal
(
resourceRecord
.
DomainName
.
IsRoot
?
0
:
resourceRecord
.
DomainName
.
NonCompressedLength
-
2
);
resourceRecordAttributeField
.
AssertNoFields
();
break
;
case
"dns.count.labels"
:
// TODO: Remove the IsRoot condition when https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=10674 is fixed.
resourceRecordAttributeField
.
AssertShowDecimal
(
resourceRecord
.
DomainName
.
IsRoot
?
1
:
resourceRecord
.
DomainName
.
LabelsCount
);
resourceRecordAttributeField
.
AssertShowDecimal
(
resourceRecord
.
DomainName
.
LabelsCount
);
resourceRecordAttributeField
.
AssertNoFields
();
break
;
...
...
@@ -1122,7 +1120,10 @@ namespace PcapDotNet.Core.Test
break
;
case
"dns.apl.afdpart.data"
:
case
"dns.apl.afdpart.ipv4"
:
case
"dns.apl.afdpart.ipv6"
:
if
(
dataFieldName
!=
"dns.apl.afdpart.data"
)
Assert
.
AreEqual
(
AddressFamily
.
IpV4
,
aplData
.
Items
[
_aplItemIndex
-
1
].
AddressFamily
);
dataField
.
AssertValue
(
aplData
.
Items
[
_aplItemIndex
-
1
].
AddressFamilyDependentPart
);
break
;
...
...
PcapDotNet/src/PcapDotNet.Core.Test/WiresharkDatagramComparerIpV6MobilityHeader.cs
View file @
44f22cf6
This diff is collapsed.
Click to expand it.
PcapDotNet/src/PcapDotNet.Core.Test/WiresharkDatagramComparerTcp.cs
View file @
44f22cf6
...
...
@@ -256,6 +256,8 @@ namespace PcapDotNet.Core.Test
int
currentOptionIndex
=
0
;
foreach
(
var
field
in
element
.
Fields
())
{
if
(
field
.
Name
()
==
"_ws.expert"
)
continue
;
if
(
currentOptionIndex
>=
options
.
Count
)
{
Assert
.
IsFalse
(
options
.
IsValid
,
"Options IsValid"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment