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
60cd47eb
Commit
60cd47eb
authored
Sep 26, 2013
by
Brickner_cp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
IPv6
parent
182ae7e8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
IpV6OptionSmfDpdSequenceBased.cs
...Net.Packets/IpV6/Options/IpV6OptionSmfDpdSequenceBased.cs
+2
-2
No files found.
PcapDotNet/src/PcapDotNet.Packets/IpV6/Options/IpV6OptionSmfDpdSequenceBased.cs
View file @
60cd47eb
...
@@ -120,13 +120,13 @@ namespace PcapDotNet.Packets.IpV6
...
@@ -120,13 +120,13 @@ namespace PcapDotNet.Packets.IpV6
case
IpV6TaggerIdType
.
IpV4
:
case
IpV6TaggerIdType
.
IpV4
:
if
(
taggerIdLength
!=
IpV4Address
.
SizeOf
)
if
(
taggerIdLength
!=
IpV4Address
.
SizeOf
)
return
null
;
return
null
;
IpV4Address
ipV4Address
=
data
.
ReadIpV4Address
(
0
,
Endianity
.
Big
);
IpV4Address
ipV4Address
=
data
.
ReadIpV4Address
(
Offset
.
TaggerId
,
Endianity
.
Big
);
return
new
IpV6OptionSmfDpdIpV4
(
ipV4Address
,
identifier
);
return
new
IpV6OptionSmfDpdIpV4
(
ipV4Address
,
identifier
);
case
IpV6TaggerIdType
.
IpV6
:
case
IpV6TaggerIdType
.
IpV6
:
if
(
taggerIdLength
!=
IpV6Address
.
SizeOf
)
if
(
taggerIdLength
!=
IpV6Address
.
SizeOf
)
return
null
;
return
null
;
IpV6Address
ipV6Address
=
data
.
ReadIpV6Address
(
0
,
Endianity
.
Big
);
IpV6Address
ipV6Address
=
data
.
ReadIpV6Address
(
Offset
.
TaggerId
,
Endianity
.
Big
);
return
new
IpV6OptionSmfDpdIpV6
(
ipV6Address
,
identifier
);
return
new
IpV6OptionSmfDpdIpV6
(
ipV6Address
,
identifier
);
default
:
default
:
...
...
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