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
39ca222f
Commit
39ca222f
authored
Aug 30, 2014
by
Brickner_cp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
IPv6
Code Coverage 95.94%
parent
cf2a308f
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
218 additions
and
3 deletions
+218
-3
IpV6Tests.cs
PcapDotNet/src/PcapDotNet.Packets.Test/IpV6Tests.cs
+218
-0
IpV6MobilityOptionComplex.cs
...pDotNet.Packets/IpV6/Options/IpV6MobilityOptionComplex.cs
+0
-3
No files found.
PcapDotNet/src/PcapDotNet.Packets.Test/IpV6Tests.cs
View file @
39ca222f
This diff is collapsed.
Click to expand it.
PcapDotNet/src/PcapDotNet.Packets/IpV6/Options/IpV6MobilityOptionComplex.cs
View file @
39ca222f
...
@@ -34,9 +34,6 @@ namespace PcapDotNet.Packets.IpV6
...
@@ -34,9 +34,6 @@ namespace PcapDotNet.Packets.IpV6
internal
override
sealed
void
Write
(
byte
[]
buffer
,
ref
int
offset
)
internal
override
sealed
void
Write
(
byte
[]
buffer
,
ref
int
offset
)
{
{
base
.
Write
(
buffer
,
ref
offset
);
base
.
Write
(
buffer
,
ref
offset
);
// TODO: Remove this check.
if
(
DataLength
>
byte
.
MaxValue
)
throw
new
InvalidOperationException
(
"DataLength is too big."
);
buffer
[
offset
++]
=
(
byte
)
DataLength
;
buffer
[
offset
++]
=
(
byte
)
DataLength
;
WriteData
(
buffer
,
ref
offset
);
WriteData
(
buffer
,
ref
offset
);
}
}
...
...
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